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

0% completed

Vote For New Content

My BFS solution

Mohammed Dh Abbas

Jun 6, 2024

0

14

0

Jun 6, 2024

My DFS solution with explanation

Mohammed Dh Abbas

Jun 5, 2024

0

17

0

Jun 5, 2024

Recursive calls

arya.javadi80

Jun 19, 2023

1

38

0

Jun 23, 2023

class Solution: def containsCycle(self, grid: List[List[str]]) -> bool: ...

Mike Xu

Feb 12, 2023

0

17

0

Feb 12, 2023

can you please guide me how to solve this problem with iterative approach?

Sharafat Ali

Feb 7, 2023

0

33

1

Jul 23, 2024

Curious if anyone has found a way to solve this problem with the iterative BFS a...

J

Nov 15, 2022

0

36

3

Mar 8, 2025

Can you explain the process of input for -1 for both prevX and prevY? x = -1 an...

Alfonso Vieyra

Sep 9, 2022

0

33

1

Oct 8, 2022

On this page