57. File Naming

Task You are given an array of desired filenames in the order of their creation. Since two files cannot have equal names, the one which comes... »

56. digitsProduct

Task Given an integer product, find the smallest positive (i.e. greater than 0) integer the product of whose digits is equal to product. If there is... »

54. sumUpNumbers

Task CodeMaster has just returned from shopping. He scanned the check of the items he bought and gave the resulting string to Ratiorg to figure out... »

53. Valid Time

Task Check if the given string is a correct time representation of the 24-hour clock. Example For time = "13:58", the output should be validTime(time) =... »

52. longestWord

Task Define a word as a sequence of consecutive English letters. Find the longest word from the given string. Example For text = "Ready, steady, go!",... »

50. chessKnight

Task Given a position of a knight on the standard chessboard, find the number of different moves the knight can perform. The knight can move to... »

49. lineEncoding

Task Given a string, return its encoding defined as follows: First, the string is divided into the least possible number of disjoint substrings consisting of identical... »

48. isDigit

Task Determine if the given character is a digit or not. Example For symbol = '0', the output should be isDigit(symbol) = true; For symbol =... »