Programming Internship Interview Questions

75,099 programming internship interview questions shared by candidates

Given a vector of inputs x[i] and a vector of outputs y[i] where each output is the product of all the inputs not in that index. Write a program which gives this output. What is the complexity of that program? Is there a way to make it faster?
avatar

Programmable Solutions Group

Interviewed at Intel Corporation

3.9
Feb 5, 2020

Given a vector of inputs x[i] and a vector of outputs y[i] where each output is the product of all the inputs not in that index. Write a program which gives this output. What is the complexity of that program? Is there a way to make it faster?

Viewing 651 - 660 interview questions

Glassdoor has 75,099 interview questions and reports from Programming internship interviews. Prepare for your interview. Get hired. Love your job.