#crackingthecodinginterview #codinginterview #programmingquestions
We tackle a problem from 'Cracking the Coding Interview' book and take a dive into understanding the solutions.
This is a nested for loop, but the inner loop has j = i + 1, so it's a little different.
Explaining this in an interview will let the interviewer understand you have some knowledge of why one solution may or may not be better than another.
If you have any questions or need clarification, comment down below and I will respond to you!
00:00 Introduction
00:20 Example #1 - Separate For Loops
01:27 Example #2 - Nested For Loop
02:05 CTCI #1.3
07:03 Second Solution