Composing Functions in Early Java Versions

Part 1 of The Weekly Challenge 171 : Create sub compose($f, $g) which takes in two parameters $f and $g as subroutine refs and returns subroutine ref i.e. compose($f, $g)-($x) = $f-($g-($x)) . While the problem is given in a Perl centric way, the intent i… Read more


Nth Fibonacci Number Using Java Recursion

There are certain problems that just make sense to solve using Java Recursion. Demonstrating Fibonacci Series is one of them. Let’s take a look at something called Fibonacci series. Here are the first few numbers of this series:0, 1, 1, 2, 3, 5, 8, 13, 21... (more…)

Read more »