← Intuit questions
CodingReported in a candidate post, Aug 2024

Count lucky permutations of an array given edges

Filed under Intuit

Given an array nums of n distinct items and a list of bidirectional edges between item indices, count the permutations of the items in which every pair of consecutive items is joined by an edge…

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

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