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

0% completed

Vote For New Content

Backtracking vs. BFS

AnonymousBen

Nov 9, 2024

0

11

0

Nov 9, 2024

This is the same solution but with Return Early.

Dakshesh Jain

Mar 19, 2024

1

21

1

Mar 27, 2024

Why is space complexity of the solution O(2^N)?

zachery.pang

Mar 15, 2024

0

16

0

Mar 28, 2024

For the Memoized version, is the runtime the same?

Michael Shum

Feb 20, 2023

0

27

0

Feb 20, 2023

How do both solutions use BFS if they both make recursive calls? In almost all c...

J

Dec 4, 2022

3

45

1

Mar 22, 2025

What number is this on leetcode?

Michael Baggie

Nov 21, 2022

0

62

1

Dec 4, 2022

For example 2, wouldn't the solution not work if the input was 2*3+4-5 because t...

Daniel Lee

Mar 14, 2022

0

22

0

Mar 14, 2022

On this page