Temple offerings and leaf-started tree burning time
Filed under Flipkart
The question
Calculate total temple offerings such that each temple gets more than any lower-height temple (modified to depend only on adjacent temples), and calculate the total time for all nodes of a binary tree to burn if a fire starts at a leaf node.
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.