
repAdjacent
You are given a string. Let's call its substring a group, if all letters in it…
PlayWithStringsII (reviewd)
Let's play with strings that have only ( , ) , [ and ]. Define a regular brackets sequence in the following…
FindTheSame
Find the first character that appears more than 1 time in the given string and return all…
decode2
A squared encoding in a simple encoding algorithm that can be used to encrypt messages of moderate…
nextNumber2
This task is a variation of nextNumber problem and it will be a bit more challenging.…
dnaSequence
You are given a DNA sequence: a string that contains only characters 'A', 'C', 'G', and 'T'. Your task is…
nextSameDigits
Given a positive integer, find the next larger integer that can be formed using only…
charWeight
Given a string s, your task is to calculate the weight of each character in it, where weight is the…
rearrangeExpression
Xenia the beginner mathematician is a third year student at elementary school. She is now…
missingPermutations
Given a list containing permutations of a set of characters, list all of the missing…