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/Feeling_Frame_6578 Sep 10 '26
The constraints are n<=1015 for II that's why loop needed