Repeat Evolution
974. Subarray Sums Divisible by K
2 attempts over 507 days. This page compares how the solution size, thinking trace, and stuck markers changed between posts.
Timeline Shape
Bars are normalized inside this problem, so the widest bar is the largest attempt in that metric.
Attempt Gallery
Each card is a daily post, with local deltas from the previous attempt.
Attempt 1 · 19.01.2023
medium974. Subarray Sums Divisible by K
long
kotlin
fun subarraysDivByK(nums: IntArray, k: Int): Int {
Attempt 2 · 09.06.2024
medium974. Subarray Sums Divisible by K
compact
kotlin
507 days later
lines -24
chars -515
thoughts +9
Count subarrays divisible by k
What Changed
Compact generated readout from the first and latest attempts.
-24 lines, -515 chars.
+9 lines between first and latest attempt.
9 lines, 211 chars.
0 stuck attempts, 0 one-liner attempts.