Nextdoor Coding & Algorithms Interview Questions
Master your tech interview with our curated database of real questions from top companies.
3Questions
1Company
3 Questions 1 Company
Showing 3 results
Nextdoor
Medium
Machine Learning EngineerImplement ordering with dependency constraints
You are given n items labeled 0..n−1 and a list of precedence constraints edges[i] = [u, v] meaning u must appear before v. Return a valid ordering of...
Coding & Algorithms
0
0
Sep 6, 2025
Nextdoor
Medium
Software EngineerImplement version string comparator with extensions
Implement a function compareVersions(a, b) that compares two software version strings. Each version consists of dot-separated numeric components (e.g....
Coding & Algorithms
0
0
Jul 31, 2025
Nextdoor
Medium
Machine Learning EngineerImplement and use a version comparator
You are given up to 100,000 version-like identifiers (e.g., "1.0", "01.2.0", "2.0.0-alpha", "1.10.3"). Implement compare(a, b) that orders identifiers...
Coding & Algorithms
0
0
Jul 27, 2025