Repeat Evolution
380. Insert Delete GetRandom O(1)
2 attempts over 413 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 · 29.11.2022
medium380. Insert Delete GetRandom O(1)
standard
kotlin
class RandomizedSet() {
Attempt 2 · 16.01.2024
medium380. Insert Delete GetRandom O(1)
standard
kotlin
413 days later
lines -6
chars -118
thoughts 0
Implement HashSet
What Changed
Compact generated readout from the first and latest attempts.
-6 lines, -118 chars.
0 lines between first and latest attempt.
17 lines, 377 chars.
0 stuck attempts, 0 one-liner attempts.