Recursion in Šaral programming language

Recursion In computer science recursion is a function, which calls itself in the functio body. The function call is always conditional to ensure that calculation ends. Šaral as a problem-oriented programming langugage supports writing recursive procedures and functions. Specifics of a recursive function in Šaral The function recursion is different than in other programming languages. […]

Hackerrank – String Compression

Hackerrank – Problem Statement A description of the problem can be found on Hackerrank. Solution Look at the implementation. The steps and the result are described in problem statement. I created solution in: Scala All solutions are also available on my GitHub. Scala

Hackerrank – Rotate String

Problem Statement A description of the problem can be found on Hackerrank. Solution I created solution in: Scala All solutions are also available on my GitHub. Scala

Hackerrank – Prefix Compression

Problem Statement A description of the problem can be found on Hackerrank. Solution Compare all characters from both string at the same index until they are not equals or we get to the end of one of strings. Equals characters are desired prefix. I created solution in: Scala All solutions are also available on my […]

Hackerrank – Evaluating e^x

Problem Statement A description of the problem can be found on Hackerrank. Solution

Solution also available on my GitHub.