Chai Prep

Video courses

Watch the course. Keep your notes beside it.

Full playlists, played here. Every video has a notes pad and a code pad of its own, saved to your account, so what you learn at minute twelve is still there on revision day.

Free to watch. Sign in to save notes and progress.

Chai aur Leetcode (Array)

Video 2 of 16

01 Remove Duplicate element in array

20:59
NotesCodeSaved
  • Sorted input, so equal values sit side by side.
  • Two pointers: one reads
  • Only write when the value is new.
  • O(n) time, O(1) space.
4
full courses
104
videos
54
hours of teaching

Why watch here

A course you finish, not a tab you forget.

The same videos as on YouTube, with the things that help them stick kept right next to them.

  • The whole playlist, here

    Every video of the course in one list, played on the page in the order it was taught.

  • Notes beside every video

    A notes pad and a code pad for each video, saved to your account as you type.

  • Ticked off as you go

    Finish a video and it is marked done for you, or tick it yourself.

  • See how far you are

    Each course keeps a count of the videos you have done, so progress is easy to see.

Press play on the first one.

Every course here is free to watch. Sign in when you want your notes and progress to stay with you.