今日やったやつ.(Easy, 3131)
Python, Runtime: 100.00%, Memory: 86.50%, Time: 6min
寝てからやってないのに気づいて,一度起きてやった.
#LeetCode
leetcode.com/problems/fin...

今日やったやつ.(Easy, 3131)
Python, Runtime: 100.00%, Memory: 86.50%, Time: 6min
寝てからやってないのに気づいて,一度起きてやった.
#LeetCode
leetcode.com/problems/fin...
No division needed: each slot is the product to its left times the product to its right. Two passes. 2, 3, 4, 5 gives 60, 40, 30, 24.
A negative running sum only drags down what comes after it. On 8, -19, 5, -4, 20 the best run keeps the -4 and drops the 8: 21. Extend or start fresh, one pass.
今日やったやつ.(Easy, 3884)
Python, Runtime: 32.58%, Memory: 56.31%, Time: 3min
#LeetCode
leetcode.com/problems/fir...
🚨 CS students, stop scrolling.
What if your DSA prep had company-tagged questions, Blind 75, Grind 169, structured roadmaps AND an online compiler — for FREE? 👀
Meet DSALoop 🚀 Your placement prep deserves more than random LeetCode grinding.
Reverse a linked list in a fixed order: save next, point current back at prev, move both up. Turn the pointer first and the rest of the list is lost.
今日やったやつ.(Easy, 2960)
Python, Runtime: 100.00%, Memory: 23.82%, Time: 4min
#LeetCode
leetcode.com/problems/cou...
Climbing Stairs gets easy once you look at the last move: you reach step n from n-1 or n-2, so the counts add up like Fibonacci. Five steps, eight ways.
今日やったやつ.(Easy, 2409)
Python, Runtime: 100.00%, Memory: 93.46%, TIme: 10min
#LeetCode
leetcode.com/problems/cou...
Most 3Sum answers find the triplets and then list one twice. Sort, fix one number, run two pointers on the rest, and skip the repeats: O(n²), each triplet once.
今日やったやつ.(Easy, 3033)
Python, Runtime: 84.95%, Memory: 90.30%, Time: 6min
#LeetCode
leetcode.com/problems/mod...
Always move the shorter line: on 1, 3, 2, 5, 25, 24, 5 the widest pair holds 6, and one pass finds 24.
今日やったやつ.(Easy, 2788)
Python, Runtime: 17.72%, Memory: 78.79%, TIme: 11min
#LeetCode
leetcode.com/problems/spl...
今日やったやつ.(Easy, 3079)
Python, Runtime: 83.29%, Memory: 62.12%, Time: 5min
#LeetCode
leetcode.com/problems/fin...
今日やったやつ.(Easy, 2843)
Python, Runtime: 81.67%, Memory: 15.00%, TIme: 10min
#LeetCode
leetcode.com/problems/cou...
今日やったやつ.(Easy, 1805)
Python, Runtime: 53.03%, Memory: 21.82%, Time: 4min
#LeetCode
leetcode.com/problems/num...
今日やったやつ(Easy, 3360)
Python, Runtime: 100.00%, Memory: 85.58%, Time: 12min
#LeetCode
leetcode.com/problems/sto...
If a linked list loops, a pointer moving twice as fast always catches the slow one: inside the loop the gap shrinks by one every step.
https://firecode.io/?utm_source=bluesky&utm_medium=social&utm_campaign=video-linked-list-cycle
今日やったやつ.(Easy, 3099)
Python, Runtime: 100.00%, Memory: 97.64%, TIme: 3min
#LeetCode
leetcode.com/problems/har...