Add Minimum Nodes to Tree Levels to Form AP
Filed under Josh Technology
The question
Given a tree, return a list representing the minimum number that should be added at each level such that the sum of the nodes at each level forms an arithmetic progression (AP).
No write-up yet. Related questions below have one.
Related Josh Technology questions
Collected from public candidate posts and coding forums. Updated Nov 2026.