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

0% completed

Vote For New Content

Use prefix suffix approach, easy to understand

Ravat Tailor

Apr 21, 2025

0

11

0

Apr 21, 2025

C# We can avoid additional for loop while calculating rightSum

Gopalrao Yadawadakar

Dec 25, 2024

0

10

0

Dec 25, 2024

Error in problem statement

Othmane Abouelyzza

Sep 22, 2024

0

32

0

Sep 22, 2024

C#: O(1) space better than Official solution

KP K

Jul 31, 2024

0

38

0

Jul 31, 2024

<Python> O(1) space, better than the official solution

T N

Jul 9, 2024

1

41

0

Jul 19, 2024

Cleaner solution in javascript

Exanubes

Jun 10, 2024

1

42

1

Feb 11, 2025

Python Solution using less space and saving one iteration than what's presented as the right solution

Leopoldo Hernandez

Feb 5, 2024

2

49

0

May 5, 2024

More space saving solution, could be done with O(1) space

Sahil and Team

Nov 18, 2023

4

110

4

Aug 8, 2024

Presented solution should be optimized further

Manish Giri

Nov 12, 2023

2

74

2

Nov 18, 2024

More space-saving solution

Lining Wang

Nov 1, 2023

2

50

1

Oct 17, 2024

Question for Array problem #3

tranlannhi

Oct 23, 2023

0

51

0

Oct 23, 2023

On this page