7. almostIncreasingSequence
Task Given a sequence of integers as an array, determine whether it is possible to obtain a strictly increasing sequence by removing no more than one... »
Task Given a sequence of integers as an array, determine whether it is possible to obtain a strictly increasing sequence by removing no more than one... »
Task Ratiorg got statues of different sizes as a present from CodeMaster for his birthday, each statue having an non-negative integer size. Since he likes to... »
Task Below we will define an n-interesting polygon. Your task is to find the area of a polygon for a given n. A 1-interesting polygon is... »
Task Given an array of integers, find the pair of adjacent elements that has the largest product and return that product. Example For inputArray = [3,... »
Task Given the string, check if it is a palindrome. Example For inputString = "aabaa", the output should be checkPalindrome(inputString) = true; For inputString = "abac",... »
Task Given a year, return the century it is in. The first century spans from the year 1 up to and including the year 100, the... »
Task Write a function that returns the sum of two numbers. Example For param1 = 1 and param2 = 2, the output should be add(param1, param2)... »