Software engineers write programs to design and develop computer software. Interviews are highly technical, so come ready to work through coding problems and math brainteasers. The specific questions you are asked will depend on what type of programming position you are looking for. Try researching a specific software discipline such as web development, application development, or system development.
They asked me to show how I could loop over the words in a sentence backwards.
It was easy but awkward on a sheet of paper. I broke the words of the sentence by using a regular expression and then looped over the resulting tuple backwards. When I got home, I then realised that there was a built in function for the language I chose that can iterate over the object in reverse order. It was just never a problem I had to tackle.
Split sentence using space character into an array of strings. Then traverse back the array.