
chartFix
As an economist, you are interested in Pingland PING to Pongland PONG currency chart. In…
remainFib
Trong toán học, các số Fibonacci là các số thuộc dãy Fibonacci sequence như sau: 1, 1, 2,…
cyclicSequence
A sequence a1, a2, …, an is called cyclic increasing if for some i (1 ≤ i ≤ n), ai, ai…
zigzagSequenceLength
Một chuỗi các số nguyên được gọi là một chuỗi zigzag nếu mỗi phần tử…
kthTerm
For the given integer n, consider an increasing sequence consisting of all positive integers that are…
findRange
Given the array of positive integers and the integer n, find whether there is a range of length…
isPairMult
Given a sorted array and an integer as inputs, determine if there is a pair…
chainNames
You're given an array of names, where each name is given as a string. Your task…
findDistinctNumbers
Given an array a, your task is to find the distinct numbers in it and return…