Success Rate
% 50

Find pair numbers those sum equal to K value

The function will receive an array and a K value. The function will find the pair numbers those sum equal to K value, and returns them as String. Example [9, 6, 5, 7, 1, 3, 2, 4, 10, 8] K=16 returns ...
Emre Dipi
Published on Jan 19th, 2018
Success Rate
% 100

Calorie Tracker

Write a function that tracks how much calorie the user burns in total in a day and reports if daily target is reached. If sum of inputs are 500 or over than 500, the function returns "Target is reach ...
Emre Dipi
Published on Jan 19th, 2018
Success Rate
% 100

Cyclic Number

A cyclic number is an integer n digits in length which, when multiplied by any integer from 1 to n, yields a"cycle"of the digits of the original number. That is, if you consider the number after the ...
Coder
Published on Jan 19th, 2018
Success Rate
% 100

Joseph's Problem

from among n people, numbered 1, 2, . . ., n, standing in circle every mth is going to be executed and only the life of the last remaining person will be saved. Joseph was smart enough to choose the ...
Coder
Published on Jan 19th, 2018
Success Rate
% 100

Exponention

Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many computer systems ...
Coder
Published on Jan 18th, 2018
Success Rate
% 100

Sum of Big Numbers

In this problem, you are given two big numbers as string and you are expected to print sum of them. However, You should keep in your mind that the numbers you are given may be too large to fit in int ...
Coder
Published on Jan 17th, 2018
Success Rate
% 100

Find Maximum of Minimums in Sliding Windows

Given an integer array of size n, find the maximum of the minimum’s for every window size in the array. Note that window size is 1..n. Example: When arr = [10, 20, 30, 50, 10, 70, 30], the output s ...
Berkan Teber
Published on Jan 16th, 2018
Success Rate
% 100

Form Minimum Number From a Given Sequence

Given a pattern containing only Is and Ds, I for increasing and D for decreasing, devise an algorithm to print the minimum number following that pattern. Digits are 1..9 and can’t repeat. Examples: ...
Berkan Teber
Published on Jan 16th, 2018
Success Rate
% 100

Find An Equal Point In a String of Brackets

Given a string of brackets, the task is to find an index k which decides the number of opening brackets is equal to the number of closing brackets. The string must consist of only opening and closing ...
Berkan Teber
Published on Jan 16th, 2018
Success Rate
% 67

Number of Buildings Facing Sun

Given an array representing heights of buildings, the array has buildings from left to right. Count number of buildings facing the sunset. It is assumed that heights of all buildings are distinct. E ...
Berkan Teber
Published on Jan 16th, 2018