30. Circle of Numbers
Task Consider integer numbers from 0 to n - 1 written down along the circle in such a way that the distance between any two neighboring... »
Task Consider integer numbers from 0 to n - 1 written down along the circle in such a way that the distance between any two neighboring... »
Task Given two cells on the standard chess board, determine whether they have the same color or not. Example For cell1 = "A1" and cell2 =... »
Task Given a string, your task is to replace each of its characters by the next one in the English alphabet; i.e. replace a with b,... »
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... »