Community

Discussion Board

Anonymous interview experiences, offers and career talk from frontend engineers.

anon_406374

Coding question- leetcode stle

Implement a function findDuplicate(nums) that takes an array of integers nums containing n + 1 integers where each integer is between 1 and n (inclusive).

Premium

Keep reading with Premium

You've read your free interview experience. Go premium to read this, plus every interview experience and premium question on FrontendLead.

  • All premium solutions
  • System design deep dives
  • Company-specific prep

4.9/5 from our users

Already premium? Log in