I applied through an outsourced recruiter.
The problem was: Given a set of million data points (coordinates) represented by two values (x and y) you must determine which of those data points are inside the area described by a rectangle (x1, x2, y1, y2). My first idea was to iterate over all data points and pick up data points contained in the rectangle area then I was asked for a more efficient solution. I proposed a solution that I thought it could work but we went with a "quad tree" solution, which I had never heard before.
Java questions about data structures, threading and other topics.
It took 2 hours and was very stressful because I felt very under pressure and observed. Soft skill: General questions about your past working experience and future goals. (1 hour)
I did not get an offer because I didn't pass pair programming. Apparently my tech skills were below their expectations.
The recruiter and the interviewers at Ocado were very friendly. They treated me in a very kind and professional way.
I would recommend Ocado as a place to work.
Describe me the Java Collection hierarchy
Can you mention some sorting algorithms and describe how they work?
How is practically implemented an HashSet in Java?
What are hashCode and equals methods needed for?
The following metrics were computed from 1 interview experience for the Ocado Java Engineer role in Barcelona, Spain.
Ocado's interview process for their Java Engineer roles in Barcelona, Spain is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Ocado's Java Engineer interview process in Barcelona, Spain.