Motive Coding & Algorithms Interview Questions
Master your tech interview with our curated database of real questions from top companies.
2Questions
1Company
2 Questions 1 Company
Showing 2 results
Motive
Medium
Software EngineerImplement Union-Find and track components
Implement a Disjoint Set Union (Union-Find) data structure with union by rank and path compression. Design the API to support union(a, b), connected(a...
Coding & Algorithms
0
0
Sep 6, 2025
Motive
Medium
Software EngineerImplement Union-Find for connectivity
Implement a Disjoint Set Union (Union-Find) data structure with path compression and union by rank. Support operations: make_set, find(x), union(x, y)...
Coding & Algorithms
0
0
Aug 13, 2025