CMiC | Mercer Mettl | Online Assessments (OA) | Generated Numbers (Unique Marbles)

Question · Posted Mar 2026

Question 1: Generated Numbers (Unique Marbles) Problem Statement: You have a jar which initially contains N marbles. You can perform the following operations in any order: Taking out A marbles from the jar. Taking out B marbles from the jar. Where A & B are integer values. Your task is to find and return an integer value representing the total number of unique positive numbers of marbles that can be left behind by performing these operations, including the initial number ...

The full answer & interview discussion are available to premium members.

Log in Create a free account