String is traditionally a sequence of characters, either as a literal constant or as some kind of variable. The latter may allow its elements to be mutated and the length changed, or it may be fixed (after creation).

Learn more..John is a student at Codeland Primary School and he is in trouble with his homework and he needs your help. He tries to check validation of given parentheses. There are three types of opening and clo ...

Coder

Published on Nov 1st, 2017

Published on Nov 1st, 2017

Any word that exactly reproduces the letters in another order is an anagram. In other words, X and Y are anagrams if by rearranging the letters of X, we can get Y using all the original letters of X ...

Murat Sütunç

Published on Oct 13th, 2017

Published on Oct 13th, 2017

A rover is given instructions such as Move (M), Left (L) and Right (R). Check if given set of moves is circular or not. If circular return true, otherwise return false. The move is circular if its st ...

Murat Sütunç

Published on Oct 13th, 2017

Published on Oct 13th, 2017

Find the length of longest contiguous substring of a string, such that the length of the substring is 2 * N digits and the sum of the leftmost N digits is equal to the sum of the rightmost N digits. ...

Murat Sütunç

Published on Oct 13th, 2017

Published on Oct 13th, 2017

Write a solution to validate an IPv4 address.
IPv4 addresses are canonically represented in dot-decimal notation, which consists of four decimal numbers, each ranging from 0 to 255, separated by dot ...

Murat Sütunç

Published on Oct 13th, 2017

Published on Oct 13th, 2017

The standard 12-key telephone keypad looks like the following:
To write text using the keypad you have to press the number keys. For example, to write X press the key 9 twice. Given a sequence of nu ...

Murat Sütunç

Published on Oct 13th, 2017

Published on Oct 13th, 2017