← Flipkart questions

Assign nodes to two boxes without edge conflicts

Filed under Flipkart

Given n nodes and edges between them, determine if it is possible to assign the nodes to two boxes such that no box contains any pair of connected nodes.

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.