InterviewDB Question

Grammarly SWE Phone - Duplicate and Missing Numbers

Question Details

Problem In an array of n integers from 1 to n with one duplicate and one missing, find both the duplicate and the missing number. Likely LeetCode equivalent LC 645 - Set Mismatch (>80% confident) Tags arrays, math, hash_table

Full Details

🔒

Unlock all Grammarly questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a reported interview question from a grammarly interview during the phone round.

It covers the following topics: Arrays, Coding, Hash Table, Phone .