Bhuvana Medicherla·Dec 19, 2025Johnson-Trotter algorithmInitialization: Start with the initial permutation, which is the sequence of integers from 1 to n, arranged in ascending order.
IndeluxifybyKunal Sinha·Aug 15, 2025Leetcode #3 : Longest Substring Without Repeating CharactersGiven a string s, find the length of the longest substring without duplicate characters.
AKCoding.com·Feb 9, 2025How I Mastered Data Structures and AlgorithmsNot a Premium Medium member? Click here to access it for free!
Connie Zhou·Dec 23, 2024Mastering Data Algorithm — Part 25 Understanding Breadth-First Search (BFS) in PythonImagine you are in a maze, and you want to find the shortest path to the exit. One way to do this is to explore all possible paths level by…A response icon1