Software Engineer Sr Interview Questions

67,443 software engineer sr interview questions shared by candidates

Whiteboard coding exercise (more trivia from the Jeopardy "Graphics processing category"): - write code for a function to copy a rectangle in an image from one location to another - this is like moving a window in a window manager, but the original window image can be left there - inputs: char [][] image, Rectangle (x,y,width, height) toCopy, Point (x,y) destination - image character array is ok for illustration purposes - 0,0 in top, left - do basic copy process - what happens when the destination is inside the rectangle to copy? - when does the original data get damaged? - add logic to copy the rectangle properly (prevent damage to the image data) - how to erase the original rectangle from the image - this was referred to as the "bit blit" algo - but am not finding a decent example of code for this on the web at first glance Whiteboard coding exercise (even more irrelevant trivia): - write code to solve 9x9 Sudoku (brute force frowned on)
avatar

Senior Software Engineer

Interviewed at Axon

3.6
Feb 15, 2016

Whiteboard coding exercise (more trivia from the Jeopardy "Graphics processing category"): - write code for a function to copy a rectangle in an image from one location to another - this is like moving a window in a window manager, but the original window image can be left there - inputs: char [][] image, Rectangle (x,y,width, height) toCopy, Point (x,y) destination - image character array is ok for illustration purposes - 0,0 in top, left - do basic copy process - what happens when the destination is inside the rectangle to copy? - when does the original data get damaged? - add logic to copy the rectangle properly (prevent damage to the image data) - how to erase the original rectangle from the image - this was referred to as the "bit blit" algo - but am not finding a decent example of code for this on the web at first glance Whiteboard coding exercise (even more irrelevant trivia): - write code to solve 9x9 Sudoku (brute force frowned on)

Viewing 2691 - 2700 interview questions

Glassdoor has 67,443 interview questions and reports from Software engineer sr interviews. Prepare for your interview. Get hired. Love your job.