← Amazon questions
CodingReported in a candidate post, Oct 2022

Ant Family Interaction (Bipartite Graph)

Filed under Amazon

Given a list of interactions between ants, determine if the ant family is 'GOOD' or 'BAD'. A family is 'GOOD' if all interactions occur strictly between opposite genders, meaning the interaction graph…

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 Amazon questions

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