Questions / Infosys

Number of Unique Elements After Modifications

Asked at Infosys · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

You are given an array `nums` of size `n` and `queries` of size `m`.

Loading the problem…

More Infosys interview questions

  • Extract Cards
  • Find Number of Good Subsequences
  • Obtain Maximum Score Using Minimum Swaps
  • Two-Team Turn-Based Battle Simulator
  • Toy Language Type System
  • Grid Infection and Immunity Simulation
All Infosys questions