hackerrank v0.1.0 FP.Recursion
Elixir solutions for HackerRank functional programming challenges: recursions.
Link to this section Summary
Functions
String compression
Fibonocci numbers
Filter elements
Computing the greatest common divisor (GCD) with Euclidean Algorithm
String mingling
Pascal's triangle
String-o-Permute
Prefix compression
String reductions
The Sum of powers
Link to this section Functions
compress_string(str)
String compression
https://www.hackerrank.com/challenges/string-compression/problem
fibonacci(n)
Fibonocci numbers
https://www.hackerrank.com/challenges/functional-programming-warmups-in-recursion---fibonacci-numbers/problem
filter_elements(k, nums)
Filter elements
https://www.hackerrank.com/challenges/filter-elements/problem
gcd(list)
Computing the greatest common divisor (GCD) with Euclidean Algorithm
https://www.hackerrank.com/challenges/functional-programming-warmups-in-recursion---gcd/problem
mingle_string(list)
String mingling
https://www.hackerrank.com/challenges/string-mingling/problem
pascal_tri(k, m \\ 1, tri_data \\ [])
Pascal's triangle
https://www.hackerrank.com/challenges/pascals-triangle/problem
permute_string(string)
String-o-Permute
https://www.hackerrank.com/challenges/string-o-permute/problem
prefix_compress(data)
Prefix compression
https://www.hackerrank.com/challenges/prefix-compression/problem
string_reduce(str)
String reductions
https://www.hackerrank.com/challenges/string-reductions/problem
sum_of_powers(list)
The Sum of powers
https://www.hackerrank.com/challenges/functional-programming-the-sums-of-powers/problem