InterviewDB
Experience
Party Invite: Maximum Guests Satisfying Friendship Constraints
phone
Interview Experience
Problem You are hosting a party and have n potential guests numbered 1 to n. You are given a list of conflict pairs — two people who refuse to attend if the other is present. Find the maximum number of guests you can invite such that no conflict pair is both present. Follow-ups Is this equivalent to Maximum Independent Set? What does that imply about complexity in general graphs? If the conflict graph is bipartite, how can you find the exact answer efficiently? For a general graph, what approxim…
Full Details
🔒
Unlock all Ziphq questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a candidate experience report from a ziphq interview during the phone round.
It covers the following topics: Coding, Graph, Phone, Onsite .
More Ziphq Interview Questions
InterviewDB
Catch Me If You Can: Optimal Pursuer Movement on a Grid
InterviewDB
Conditional Check: Evaluate Boolean Expressions with Variables
InterviewDB
Ziphq SWE Phone - Convert Email
InterviewDB
Display Strings: Format and Wrap Text to Fit a Fixed-Width Screen
InterviewDB
Furthest Distance Reachable with Limited Fuel Stops