Consecutive strings
Consecutive strings题目
You are given an array strarr of strings and an integer k. Your task is to return the first longest string consisting of k conse ...
Create Phone Number
Create Phone Number题目
Write a function that accepts an array of 10 integers (between 0 and 9), that returns a string of those numbers in the form of a ...
RGB To Hex Conversion
RGB To Hex Conversion题目
The rgb function is incomplete. Complete it so that passing in RGB decimal values will result in a hexadecimal representation ...
Build Tower
Build Tower题目
Build TowerBuild Tower by the following given argument:number of floors (integer and always greater than 0).
Tower block is represented ...
Take a Number And Sum Its Digits Raised To The Consecutive Powers And ....¡Eureka!!
Take a Number And Sum Its Digits Raised To The Consecutive Powers And ….¡Eureka!!题目
The number 89 is the first integer with more than one digit that f ...
Vasya - Clerk
Vasya - Clerk题目
he new “Avengers” movie has just been released! There are a lot of people at the cinema box office standing in a huge line. Each of th ...
Split Strings
Split Strings题目
Complete the solution so that it splits the string into pairs of two characters. If the string contains an odd number of characters th ...
Two to One
Two to One题目
Take 2 strings s1 and s2 including only letters from ato z. Return a new sorted string, the longest possible, containing distinct letters ...
Find the next perfect square!
Find the next perfect square!题目
You might know some pretty large perfect squares. But what about the NEXT one?
Complete the findNextSquare method that ...
Complementary DNA
Complementary DNA题目
Deoxyribonucleic acid (DNA) is a chemical found in the nucleus of cells and carries the “instructions” for the development and fun ...
