Validation Engineer Interview Questions

1,604 validation engineer interview questions shared by candidates

# Given an array of random numbers, push all the zeroes of a given array to the end of the array. For example, if the given array is {1, 9, 8, 4, 0, 0, 2, 7, 0, 6, 0}, it should be changed to {1, 9, 8, 4, 2, 7, 6, 0, 0, 0, 0}. The order of all other elements should be same. Expected time complexity is O(n) and extra space is O(1). # Input : arr[] = {1, 2, 0, 4, 3, 0, 5, 0}; # Output : arr[] = {1, 2, 4, 3, 5, 0, 0, 0}; # Input : arr[] = {1, 2, 0, 0, 0, 3, 6}; # Output : arr[] = {1, 2, 3, 6, 0, 0, 0};
avatar

Software Validation Engineer

Interviewed at NVIDIA

4.4
Oct 21, 2025

# Given an array of random numbers, push all the zeroes of a given array to the end of the array. For example, if the given array is {1, 9, 8, 4, 0, 0, 2, 7, 0, 6, 0}, it should be changed to {1, 9, 8, 4, 2, 7, 6, 0, 0, 0, 0}. The order of all other elements should be same. Expected time complexity is O(n) and extra space is O(1). # Input : arr[] = {1, 2, 0, 4, 3, 0, 5, 0}; # Output : arr[] = {1, 2, 4, 3, 5, 0, 0, 0}; # Input : arr[] = {1, 2, 0, 0, 0, 3, 6}; # Output : arr[] = {1, 2, 3, 6, 0, 0, 0};

Viewing 1241 - 1250 interview questions

Glassdoor has 1,604 interview questions and reports from Validation engineer interviews. Prepare for your interview. Get hired. Love your job.