Back to Browse

Longest Substring Without Repeating Characters | No HashMap Approach βœ… #dsa #leetcode3 #python

40 views
Apr 29, 2026
11:11

πŸš€ LeetCode 3 – Longest Substring Without Repeating Characters (No HashSet!) In this video, I’ve solved one of the most popular problems on LeetCode β€” Problem 3: Longest Substring Without Repeating Characters β€” in a simple and unique way πŸ’‘ πŸ‘‰ Instead of using a HashSet or HashMap, I used: String slicing βœ‚οΈ A sliding-window-like approach Basic loops and conditions πŸ“Œ What you’ll learn: Clear explanation of the problem Step-by-step examples Dry run for better understanding Clean Python solution Time complexity breakdown This approach is beginner-friendly and helps you understand the logic deeply without relying on extra data structures.

Download

1 formats

Video Formats

360pmp48.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Longest Substring Without Repeating Characters | No HashMap Approach βœ… #dsa #leetcode3 #python | NatokHD