Repeating/missing numbers, frequency in array, and subtree sums
Filed under Tekion
The question
Find repeating and missing elements in an array from 1 to n, find the frequency of numbers 1 to n without extra space, and replace each node value in a binary tree with the sum of its children subtrees.
No write-up yet. Related questions below have one.
Related Tekion questions
Collected from public candidate posts and coding forums. Updated Nov 2026.