Interview Bootcamp
Ask Author
Back to course home

0% completed

Vote For New Content

Short Recursion

Ahmad Khatib

Dec 21, 2024

0

25

0

Dec 21, 2024

Simpler solution

Luis Roel

Dec 9, 2024

0

42

0

Dec 9, 2024

Alternative solution without using two pointers

Nabeel Keblawi

Oct 6, 2024

0

40

1

Oct 6, 2024

Why not just recurse through with a hashmap? Is space complexity that important?

Douglas McDonald

Jul 4, 2024

0

85

1

Jul 20, 2024

My solution

Mohammed Dh Abbas

Jul 4, 2024

0

27

0

Jul 4, 2024

The provided solution will return wrong result if num = 10.

anhquan.tranle0601

Sep 26, 2023

0

76

0

Sep 26, 2023

Time Complexity Struggle

maagjoel1

Aug 31, 2023

0

80

2

Dec 22, 2024

Why is -1 not a happy number?

Cady Shelhon

Aug 28, 2023

1

63

2

Aug 30, 2023

Why is "-1" not considered a happy number?

Some Dude

Jul 31, 2023

2

15

0

Aug 14, 2023

The time complexity analysis seems incomplete. It only analyses the time it take...

hj3yoo

Feb 22, 2022

11

104

3

Aug 18, 2024

Would a solution involving hashmaps and recursion not also be valid?let happyMap...

Aidan Eglin

Feb 6, 2022

1

104

3

May 18, 2022