How to UpperCase the start of each Word in a String in Golang
The challenge
The task is to take a string of lower-cased words and convert the sentence to upper-case the first letter/character of each word …
Read Article →In-depth guides, insights, and best practices for modern software engineering
The task is to take a string of lower-cased words and convert the sentence to upper-case the first letter/character of each word …
Read Article →You are given an array of unique elements, and your task is to rearrange the values so that the first max value is followed by the first …
Read Article →Given an array of integers your solution should find the smallest integer.
For example:
[34, 15, 88, 2] your solution will return …The most basic encryption method is to map a char to another char by a certain math rule. Because every char has an ASCII value, we can …
Read Article →You are given an array of arrays and your task will be to return the number of unique arrays that can be formed by picking exactly one …
Read Article →Write a function that checks if a given string (case insensitive) is a palindrome.
Option 1:
def …
Read Article →
Complete the function that takes an odd integer (0 < n < 1000000) which is the difference between two consecutive perfect squares, …
When given a string of space-separated words, return the word with the longest length.
If there are multiple words with the longest …
Read Article →Implement a function that calculates the sum of the integers inside a string. For example, in the string …
Read Article →Complete the solution so that it reverses the string passed into it.
'world' => 'dlrow'
'word' => …
Read Article →
You must implement a function that returns the difference between the biggest and the smallest value in a list(lst) received as a …
Read Article →Given a string and an array of integers representing indices, capitalize all letters at the given indices.
Example: …
Read Article →