← Microsoft questions
CodingReported in a candidate post, Jul 2025

Find if given number is a Lucky Number

Filed under Microsoft

A lucky number is defined by a process: starting with a list of integers, remove every 2nd number, then every 3rd number from the remaining list, and so on. Determine if a given integer n remains in…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.