Interview Bootcamp
Ask Author
Back to course home

0% completed

Vote For New Content

Easy to follow solution

Mohammed Dh Abbas

Jul 8, 2024

0

39

2

Jul 14, 2025

Smallest Subarray With a Greater Sum solution has a bug

karrad

Aug 23, 2023

0

57

2

Mar 20, 2025

Why would time complexity be O(n+n) instead of maybe something like O(n*n). [1,2...

Salah Osman

Feb 24, 2023

0

40

1

Feb 24, 2023

I was using if instead of while, wondering why my length result was wrong. I und...

Anthony DiFede

Nov 10, 2022

0

19

1

Dec 4, 2022

I dont understand the logic behind using the math.in and the integer.max_value. ...

Bryan Pena

Aug 18, 2022

0

11

3

Aug 24, 2022

Can someone explain how did they calculate the time complexity?

Vatsal Mavani

Aug 14, 2022

0

15

1

Aug 14, 2022

In the python solution, here's a more pythonic way of returning min_length. I al...

Christian Salinas

Jul 18, 2022

0

16

0

Jul 18, 2022

can someone explain the necessity of the check:if min_length == math.infin the P...

Jess

Feb 26, 2022

0

4

5

Jun 30, 2022

Could please describe the logic of inner while loop running only once? what is t...

Syed Hassan

Jan 13, 2022

0

14

1

Nov 2, 2022

I think there is a better solution for Smallest Subarray with a Greater Sum (eas...

Syed Hassan

Jan 13, 2022

0

21

1

Aug 18, 2022

I think the solution for the smallest subarray with a given sum has a bug. We ar...

farhad nooralahzadeh

Dec 3, 2021

0

23

2

Dec 3, 2021