Index

Module 05 · DSAClinic: arrays, hashing and stacks

Clinic #05 - Two Sum

Pattern: Hashing (memory of the past) · LC 1

Two Sum
Two Sum · Open board

Ek hi sawaal ke teen jawab dikhaata hai: seedha tareeka, sort karke milna, aur yaad rakh kar dhoondna. Upar ka “LC 1” matlab LeetCode ka problem number 1.

Before you start. List mein har number ki apni jagah hoti hai - use uska index kehte hain, 0 se ginkar. Foundations #04 - Hashing (O(1) "yaad") ya Hashing ne hash map ke andar (buckets, collisions) pehle dikhaya ho toh wahi machine yahan istemaal ho rahi hai - is note mein sirf ek problem pe.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Review DSA →

Saved in this browser, and to your account when you sign in.