← Flipkart questions

Maximize party profit with hierarchical subordination constraint

Filed under Flipkart

Given a tree structure representing an organization where each node (employee) has an associated profit value, select a subset of nodes to maximize total profit such that no two adjacent nodes (direct…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.