InquinionWhat's new

Guided lessons · 14 November

Guided lessons, straight into learning

Turn on Guided and your coach opens with its first question. No plan to set up first. A concept card beside the chat collects the ideas you work out and shows how they connect.

  • Jump straight in: your coach asks the first question, and the lesson starts there.
  • Watch the concept card fill in as you go: the laws, principles and parts you worked out, and how each one connects.
  • Your coach knows when you've got it, and wraps up with a table of every idea and the job it does.
  • Keep the card as your flash card: cover it and recall. Add Self-Evaluate from the card for a quick quiz at the end.

Why does a potential difference make current flow?

f( )The function line is written at the finish.

Key ideas

2 of 4 settled

  1. You worked this out: Charge flows through a conductor only when there is a potential difference between its ends.

  2. Supplied by the coach: new for youA battery maintains a potential difference across its terminals.

Battery
Part
Its job here
Components

Battery

Maintains a potential difference across its terminals by converting chemical energy to electrical energy.

NewSimulations

Watch your code run, one step at a time.

84 simulations of the problems you already practise, from Binary Search to N-Queens. They run on your own values, light up the line that is running, and give a plain reason for every step.

Try it in a chatFind your problem

Try one right here

This is the real simulation, not a video. Press play, or step with ← and →.

Try it on your own values

Built so the idea clicks

Show bubble sort on 7, 2, 9, 4
7
2
9
4

Your numbers, not a textbook's

Ask with the values from your problem. The simulation runs on exactly those.

7
2
9
4
compare 7, 27 > 2, so we swap them.

A reason for every step

What happened on the left, and why on the right, in one plain sentence.

1for i in range(n):
2 for j in range(n - 1 - i):
3 if a[j] > a[j + 1]:
4 a[j], a[j + 1] = a[j + 1], a[j]

The code moves with the picture

The line that runs lights up as you step, so you see what the code does, not just what it says.

Variables
i0
j1
a[2, 7, 9, 4]
swappedTrue

Every variable, in view

Open Variables and watch i, j, the stack or the queue change, with the Big-O count at the end.

[ ][1][ ][1, 2][1][2][ ]

Recursion you can see

Backtracking is drawn as a tree: every choice is a branch, and every step back is visible.

←back
Spaceplay
→next
0.5×1×2×

At your pace

Play, pause, step back or change speed. On a laptop, ← → and Space do it too.

Practising on LeetCode or GeeksforGeeks?

Find your problem. Each simulation covers the core idea of the problems listed with it.

  • Binary search

    Arrays and sorting

    lo, mid and hi halve a sorted window every step.

    • LC704. Binary Search
    • LC35. Search Insert Position
    • LC278. First Bad Version
    Try it
  • Kadane's algorithm

    Arrays and sorting

    At each cell the run either grows or starts fresh, keeping the best total.

    • LC53. Maximum Subarray
    • LC918. Maximum Sum Circular Subarray
    • GfGKadane's Algorithm
    Try it
  • Reverse a list in place

    Linked lists

    prev, curr and next flip one arrow per step.

    • LC206. Reverse Linked List
    • LC92. Reverse Linked List II
    • LC234. Palindrome Linked List
    Try it
  • Level-order traversal

    Trees

    A queue visits the tree one level at a time.

    • LC102. Binary Tree Level Order Traversal
    • LC199. Binary Tree Right Side View
    Try it
  • Topological order with Kahn's algorithm

    Graphs

    In-degrees drain; nodes with none left come out next.

    • LC207. Course Schedule
    • LC210. Course Schedule II
    • GfGKahn's algorithm for Topological Sorting
    Try it
  • Subsets

    Backtracking

    Choose, explore, un-choose; every call is a subset.

    • LC78. Subsets
    Try it

Release notes

What shipped, and when.

  1. 14 November 2026

    Guided lessons, straight into learning

    Turn on Guided and your coach opens with its first question. No plan to set up first. A concept card beside the chat collects the ideas you work out and shows how they connect.

    • Jump straight in: your coach asks the first question, and the lesson starts there.
    • Watch the concept card fill in as you go: the laws, principles and parts you worked out, and how each one connects.
    • Your coach knows when you've got it, and wraps up with a table of every idea and the job it does.
    • Keep the card as your flash card: cover it and recall. Add Self-Evaluate from the card for a quick quiz at the end.
  2. 8 November 2026

    Guided lessons, with a plan you can edit

    Turn on Guided in a Quick Chat and your coach opens with a lesson plan: what you already know, what you'll be able to do by the end, and the four questions you'll work through to get there.

    • Make the plan yours: tap × on anything you don't know yet, and it gets explained first, all in one go, in plain words.
    • Say what it's for (an exam, just curious, or a project) and the lesson leans that way.
    • A lesson map beside the chat fills in with what you worked out, step by step. Scroll back and it shows where you were.
    • Add Self-Evaluate for a quiz right after Check: pick 1 to 10 questions, multiple choice or written.
  3. 3 November 2026

    Dynamic programming, as a notebook

    Twenty-seven classic DP problems, from Climbing Stairs to Matrix Chain Multiplication. Every answer is built from answers already written down, and you can see each one being read.

    • Climbing Stairs
    • Coin Change
    • 0/1 Knapsack
    • Longest Common Subsequence
    • House Robber
    • Edit Distance
    • Unique Paths
    • Longest Increasing Subsequence
    • Burst Balloons
    • House Robber III
    • Travelling Salesman
    • Unique Binary Search Trees
    • Egg Drop
    • Predict the Winner
    • Word Break
    • Partition Equal Subset Sum
    • Coin Change II
    • Decode Ways
    • Min Cost Climbing Stairs
    • Combination Sum IV
    • Minimum Path Sum
    • Unique Paths II
    • Distinct Subsequences
    • Interleaving String
    • Wildcard Matching
    • Longest Palindromic Subsequence
    • Matrix Chain Multiplication
  4. 20 October 2026

    Backtracking, drawn as a recursion tree

    Eight classic backtracking problems, from Subsets to N-Queens. Every choice is a branch, every step back is visible, and the code moves with the tree.

    • Subsets
    • Subsets II
    • Permutations
    • Combination Sum
    • Combination Sum II
    • Letter Combinations of a Phone Number
    • Palindrome Partitioning
    • N-Queens
  5. 16 October 2026

    49 step-by-step simulations

    Arrays, sorting, stacks, queues, heaps, linked lists, trees and graphs. Ask for one in any chat and it runs on your own values, with a reason for every step.

    • Traverse an array
    • Linear search
    • Binary search
    • Swap two cells
    • Insert at an index
    • Delete at an index
    • Selection sort
    • Bubble sort
    • Insertion sort
    • Quicksort
    • Merge sort
    • Three-way partition
    • Two pointers
    • Prefix sums
    • Kadane's algorithm
    • Stack push and pop
    • Next greater element
    • Queue on an array
    • Circular queue
    • Queue from two stacks
    • Sliding window maximum
    • Insert into a max-heap
    • Build a heap
    • Extract the maximum
    • Keep the k largest
    • Build a linked list
    • Insert at a position
    • Delete a node
    • Traverse a list
    • Search a list
    • Reverse a list in place
    • Reverse a list with recursion
    • Detect a cycle
    • Remove the head
    • Delete the tail of a doubly linked list
    • Build a binary search tree
    • Search a binary search tree
    • Delete from a binary search tree
    • Insert into an AVL tree
    • In-order traversal
    • Pre-order traversal
    • Post-order traversal
    • Level-order traversal
    • Breadth-first search
    • Depth-first search
    • Dijkstra's shortest paths
    • Dijkstra on two-way roads
    • Topological order with Kahn's algorithm
    • Topological order with DFS

Ask for any of them, any time

In any chat, name the algorithm and your values, like “show me merge sort on 38, 27, 43, 3”. Your coach draws it for you.

Start a chat