Back to course home
0% completed
Vote For New Content
Lack of visual explanation for these problems continues to be a point of content...
CaptainKidd
Jan 10, 2023
Lack of visual explanation for these problems continues to be a point of contention imo.
For those wondering why we aren't advancing the i value on swaps for '2' we have no idea what number took the place of the '2'. So if we don't advance the pointer it covers the edge case where the swap brings in a 0 that needs to be addressed.
6
0
Comments
Comments
D
Dario Avetisov3 years ago
I agree, quality of explanations is not great.
On this page
Problem Statement
Examples
Example 2
Try it yourself