I was contacted by a headhunter through LinkedIn. I received an email from Motorola with a Codility challenge. One task was to return an array of integers which sum up to 0, given n (how many numbers). The second was to debug a code by changing only three lines in it. There were 55 minutes for those two.
Then I was invited for a 2-hour interview, both technical and "tell me about yourself."
How would you check if a file sent over the network has not been changed during this transfer?
Write (on paper) a method that takes in a long and returns true if its binary representation has an even number of 1s, false otherwise. Do not turn the long into binary (the trick was to use & with a bitmask, >> and a loop). Write unit tests.
Method to remove duplicates from a Map.
Write an SQL query to return data from Table1 when given an ID which is a foreign key from Table2 (inner join question).
Why use equals instead of == for comparing Strings?
Describe Unix commands:
How would you configure two network cards (inside one machine) so that one card is open to the internet while another isn't?
Describe Continuous Integration.
Scrum vs. Kanban.
The following metrics were computed from 1 interview experience for the Motorola Java Developer role in United Kingdom.
Motorola's interview process for their Java Developer roles in the United Kingdom is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Motorola's Java Developer interview process in United Kingdom.