Skip to content
Avio Lines
← Sliding Window lineD6Stop 6 of 52

Contains Duplicate II (LeetCode 219)

EasyLeetCode 219 · Variable Size Window · Google, Amazon +12 · 16:17Contains Duplicate II (Sliding Window) -(Airbnb, Palantir Technologies): Explanation ➕ Live Coding
MIK's code LeetCode ↗ YouTube ↗

My notes

Sign in to keep private notes on every station, with video timestamps.

Try it before watching

Pause here and write your approach in two lines. Compare it with MIK's when the video ends.

Sign in to write your approach →

About this video

Video solution for LeetCode 219 Contains Duplicate II by codestorywithMIK: Sliding Window, Easy. Topics: Array, Hash Table, Sliding Window. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
easy
Topics
Array, Hash Table, Sliding Window
Patterns
Variable Size Window, Window + HashMap
Duration
16:17