27. variableName
Task Correct variable names consist only of English letters, digits and underscores and they can’t start with a digit. Check if the given string is a... »
Task Correct variable names consist only of English letters, digits and underscores and they can’t start with a digit. Check if the given string is a... »
Task Check if all digits of the given integer are even. Example For n = 248622, the output should be evenDigitsOnly(n) = true; For n =... »
Task Given an array of integers, replace all the occurrences of elemToReplace with substitutionElem. Example For inputArray = [1, 2, 1], elemToReplace = 1, and substitutionElem... »
Task In the popular Minesweeper game you have a board with some mines and those cells that don’t contain a mine have a number in it... »
Task Last night you partied a little too hard. Now there’s a black and white photo of you that’s about to go viral! You can’t let... »
Task You are given an array of integers representing coordinates of obstacles situated on a straight line. Assume that you are jumping from the point with... »
Task An IP address is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for... »
Task Given an array of integers, find the maximal absolute difference between any two of its adjacent elements. Example For inputArray = [2, 4, 1, 0],... »
Task Call two arms equally strong if the heaviest weights they each are able to lift are equal. Call two people equally strong if their strongest... »
Task Given a string, find out if its characters can be rearranged to form a palindrome. Example For inputString = "aabb", the output should be palindromeRearranging(inputString)... »