← All problems
Medium · Linked List

Find The Duplicate Number

Find the duplicate among n+1 values from 1 through n without modifying input.

Full problem and submission ↗
main.js

Console

Ready