Skip to content
Avio Lines
← Arrays lineD1Stop 199 of 271

Buy Two Chocolates (LeetCode 2706)

EasyLeetCode 2706 · Sorting & Counting · Google, Amazon · 6:51Buy Two Chocolates · Leetcode 2706
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 2706 Buy Two Chocolates by codestorywithMIK: Arrays, Easy. Topics: Array, Greedy, Sorting. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
easy
Topics
Array, Greedy, Sorting
Patterns
Sorting & Counting
Asked at
GoogleAmazon
Chapter
Arrays
Duration
6:51