PicoLisp Blog

PicoLisp Blog

Follow
homeGetting StartedWeb AppsDatabaseMobile AppsPilogPicoLisp Explored
Tag

Recursion

#recursion

More content

Read more stories on Hashnode


Articles with this tag

The Towers Of Hanoi

Nov 10, 20215 min read

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

The Towers Of Hanoi

How to use Pilog in PicoLisp

Nov 9, 20213 min read

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...

How to use Pilog in PicoLisp

Learning Pilog - 5: Lists

Nov 6, 20214 min read

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...

Learning Pilog - 5: Lists

Learning Pilog - 4: Recursion

Nov 5, 20215 min read

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...

Learning Pilog - 4: Recursion

The Fibonacci Sequence

Sep 29, 20216 min read

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...

The Fibonacci Sequence

PicoLisp Explored: The cache function

Sep 27, 20215 min read

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...

PicoLisp Explored: The cache function