Perl Recursion Explained: Factorial, Fibonacci, Ackermann & Linked Lists
In this video, we explore recursive functions in Perl step by step, starting with classic examples like multiplication and division using successive operations, factorial, Fibonacci, and the Ackermann function. We also cover indirect recursion and mutual recursion to determine whether a number is even or odd, explaining each concept clearly and with practical examples 🧠💻 In the second part, we implement a singly linked list in Perl, build a reusable module (.pm), and apply bubble sort logic to dynamically sort the list. This tutorial is ideal if you want to strengthen your understanding of recursion, data structures, and modular Perl programming 🚀📚 ⏱️ Timestamps 00:00 Example 1: Recursive functions in Perl 02:50 Running Example 1 03:00 Example 2: Singly linked list implementation 04:00 Running Example 2 04:10 Example 3: Module creation and sorting a list 04:20 Building a Perl module (.pm) 05:20 Sort list subroutine creation 06:30 Running Example 3 06:50 Final words DISCLAIMER: All logos and trademarks belong to their respective owners. #datastructures #linkedlists #recursion #programming #bubblesort #perl #coding
Download
0 formatsNo download links available.