Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content

Just reverse before appending to result?

eesahk

Mar 7, 2025

0

7

0

Mar 7, 2025

Incorrect sentence "for every other level, we will traverse similar to Reverse Level Order Traversal"

Bruno Ely

Jan 22, 2024

0

15

0

Jul 23, 2024

Why am i getting this error while submitting my code ? Code works fine on my local Python run time

Adeel Qureshi

Dec 30, 2023

0

14

2

Dec 30, 2023

Look like did not match the result as required

venkatlearning11

Dec 17, 2023

0

11

0

Dec 17, 2023

For the python solution, at the end of each level we run "result.append(list(cur...

Richard Yuan

Aug 22, 2022

0

22

1

Aug 23, 2022

Or we could have a deque for currentLevel instead of a vector and alternate from...

Athanasios Petsas

Feb 12, 2022

3

21

3

Apr 19, 2025