Sum of Minimum/Maximum Elements in Subarrays and Kth Ancestor
Filed under Dunzo
The question
Find the sum of minimum and maximum elements of subarrays of size k, and find the kth ancestor of a tree node.
No write-up yet. Related questions below have one.
Related Dunzo questions
Collected from public candidate posts and coding forums. Updated Nov 2026.