The Journal
Practical SQL, Python, data science and AI guides, written from real practice — not just to rank.
Recursion in Python Explained Simply
Recursion in Python explained simply: base case, call stack, factorial, Fibonacci with memoization, Tower of Hanoi and the…
Sorting Algorithms in Python: Bubble to Merge
Sorting algorithms in Python: sorted() and sort(), then bubble, selection, insertion, merge and quick sort with real comparison…
Binary Search in Python: 3 Common Variations
Binary search in Python explained: the classic loop, first and last occurrence, insertion position, bisect and search on…
Graphs in Python: Adjacency List, BFS and DFS
Graphs in Python explained: adjacency list and matrix, BFS, DFS, shortest path, islands, cycles and topological sort, with…
Binary Search Tree in Python From Scratch
Binary search tree in Python from scratch: insert, search, delete, inorder, validate a BST and why balance matters,…
Binary Tree in Python: Traversals Explained
Binary tree in Python explained: TreeNode class, preorder, inorder, postorder and level-order traversals, height, leaves and path sum,…
Linked List in Python: Singly and Doubly
Linked list in Python explained: Node class, singly and doubly linked lists, reverse, find the middle and detect…
Queue and Deque in Python Explained
Queue in Python explained: why deque beats list.pop(0), a Queue class, BFS, sliding window maximum and round-robin, with…
Stack in Python: Implementation and Uses
Stack in Python explained: push, pop and peek with a list or class, plus brackets, undo, postfix and…