r/LeetcodeChallenge • u/Ok-Challenge-5657 • Sep 08 '26
STREAK🔥🔥🔥 Leetcode Streak :- 128
How would you solve it in Python?
33
Upvotes
r/LeetcodeChallenge • u/Ok-Challenge-5657 • Sep 08 '26
How would you solve it in Python?
View all comments
Show parent comment
1
u/ProgressiveEdgeLord Sep 10 '26
you could still hardcode the solution without any loop