Computer Specialist Interview Questions

5,375 computer specialist interview questions shared by candidates

Give an array of integers, replace ith element by following maxmium number. For eg - 2 4 8 7 6 3 2 should be replaced by max num - 8 4 should be replaced by max num - 8 8 should be replaced by max num - 7 7 should be replaced by max num - 6 6 should be replaced by max num - 3 Easy question, start iterating from end , maintain max and keep swaping ith number with max.
avatar

Computer Scientist

Interviewed at Adobe

4.1
Feb 17, 2018

Give an array of integers, replace ith element by following maxmium number. For eg - 2 4 8 7 6 3 2 should be replaced by max num - 8 4 should be replaced by max num - 8 8 should be replaced by max num - 7 7 should be replaced by max num - 6 6 should be replaced by max num - 3 Easy question, start iterating from end , maintain max and keep swaping ith number with max.

Viewing 531 - 540 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 5,375 interview questions and reports from Computer specialist interviews. Prepare for your interview. Get hired. Love your job.