UI software engineer interview questions shared by candidates
Given a struct of an x,y coordinate called point and a an array of point pointers write a routine that will return the indices of the two closest points in C
Indices must be passed into the array, the routine must round-robin all of the points and calculate the euclidean distance between them. As the distance is being calculated keep track of the point indices that have the minimum distance. Assign them to the int pointers passed in and exit the routine. Not really too difficult, but a little stressful when put on the spot to write it on a whiteboard.
There was a question set up to elicit a basic discussion of linked lists vs. hashmap, to see if you could apply this knowledge practically. I don't remember the exact question.
They provided a computer and asked me to write functions for an array class, push, pop, etc.. I had some nervous energy during the interview and it took a while to get the endorphin's out of my system so I could type well. It was a little awkward writing code in front of 5 people but once my endorphin's were reduced I was able to write the code.
See Interview Questions for Similar Jobs
- Software Engineer
- Senior Software Engineer
- Software Developer
- Software Development Engineer
- UI Engineer
- Web Developer
- Front End Developer
- UI Developer
- Software Engineer I
- Front End Software Engineer
- Applications Developer
- Associate Software Engineer
- Application Developer
- Software Development Engineer I
- User Interface Designer
- Front End Engineer