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

0% completed

Vote For New Content

Simple approach O(m x n) time O(1) space

edisonfreire14

Aug 13, 2025

0

2

0

Aug 13, 2025

Cursed 1 liner

Hugh Parry

Feb 7, 2025

1

13

0

Apr 1, 2025

Much simpler solution?

siddhantgawsane

Feb 1, 2025

0

8

0

Feb 1, 2025

There is a lake in this test case. This problem should be better described.

lejafilip

Sep 6, 2024

0

19

0

Sep 6, 2024

My solution without visited array

Mohammed Dh Abbas

Jun 2, 2024

0

26

0

Jun 2, 2024

The findIslandPerimeter implementation is wrong

Semih kekül

Sep 4, 2023

2

46

1

Jul 31, 2024

A lake is a body of water that is surrounded by land.

Mikhail Putilov

Aug 20, 2023

1

30

1

Jul 22, 2024

The problem statement is incorrect based on the test cases.

Some Dude

Jul 27, 2023

3

36

2

Jul 23, 2024

Question about test case

charles_hinson

Jul 15, 2023

0

36

1

Jul 18, 2023

Could be missing edge cases, but it seems like the solution would be the number ...

Anthony DiFede

Nov 23, 2022

1

43

1

Jun 28, 2023

One small way to improve the answer provided in this challenge is doing away wit...

CaptainKidd

Nov 5, 2022

4

50

1

Sep 6, 2024

Is this a typo? Shouldn't it be Island Perimeter instead of Parameter?

Jacob Song

Jul 21, 2022

0

30

4

Nov 14, 2022

On this page