Repeat Evolution
872. Leaf-Similar Trees
2 attempts over 397 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 · 8.12.2022
easy872. Leaf-Similar Trees
compact
kotlin
fun leafSimilar(root1: TreeNode?, root2: TreeNode?): Boolean {
Attempt 2 · 9.01.2024
easy872. Leaf-Similar Trees
tiny
kotlin
397 days later
lines -4
chars -64
thoughts 0
Are leafs sequences equal for two trees.
What Changed
Compact generated readout from the first and latest attempts.
-4 lines, -64 chars.
0 lines between first and latest attempt.
6 lines, 216 chars.
0 stuck attempts, 0 one-liner attempts.