#recursion

Read more stories on Hashnode

Articles with this tag

Implemented in Logical and Functional Programming ยท Today we will talk about a very famous recursive algorithm: The Towers of Hanoi riddle. We will show...

In the last seven posts we introduced the main concepts and syntax of Pilog. However, all the queries were only done in interactive mode from the...

Today we will talk about an important data structure which is often used in Pilog programming: Lists. This post is based on this tutorial. What is a...

In the last post, we discussed briefly the backtracking search algorithm. Let's explore this topic a little further as it's an important concept in...

Task description The Fibonacci sequence is a sequence Fn of natural numbers defined recursively: F0 = 0 F1 = 1 Fn = Fn-1 + Fn-2, if n>1 Write a...

In the previous posts, we discussed the theory of binary trees. Now we will look at at two actually useful implementations of binary trees: the cache...