← Microsoft questions

Product of Array Except Elements at Indices

Filed under Microsoft

Given an array of values and a list of specific indices, write a function to return an array containing the product of all array values except those located at the specified indices.

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.