
Sonar Java Developer Interview Questions
& Process
Real candidates share what happened, how many rounds they had,
and how the experience turned out.
Based on 5 interview experiences · FREE TO READ
Candidate interview experiences
First-hand accounts from people who interviewed at Sonar.
Java Developer
First, there's usually an online screening, then a quick chat with a recruiter. After that, you'll have a technical interview. Then, an onsite interview and a people and culture interview.
- Can you explain the distinction between checked and unchecked exceptions in Java?
- Could you list the different collections found in the Java standard library?
- For each Java collection, what are their respective use cases?
Java Software Engineer
The interview process started with a Codility Test. Then, there was an Initial Video Interview (30mins) where an HR representative talked about my background, goals, and motivations. After that, a Technical interview (30 mins) happened, and even though I felt good about it, they said they weren't moving forward before the sprint stages. Next up was a 2-hour Technical Interview, followed by a 30-minute Cross-functional Interview. The final step was a 20-minute Interview with an Engineering Leader.
- Regarding the Nails and Hammer problem on Codility, could you review the code and suggest up to 4 fixes?
- How would you maximize the number of nails that end up having the same length when hammering down at most K nails?
- What's the process and number of operations to reduce a binary number to zero, using the rule: if odd, subtract 1, if even, divide by 2? Example: 011100 (28) -> 11100 (28) -> 14 -> 7 -> 6 -> 3 -> 2 -> 1 -> 0 (7ops)
Senior Java Developer
The entire interview process spanned roughly three months. It started with algorithmic questions, followed by a recruiter interview. Then, there were two technical interviews: a one-hour first one and a more intensive three-hour second one. After that, a people and culture fit interview took place, culminating in an interview with the CEO. The initial five stages were particularly important. The communication from the company was excellent, and I found the interactions enjoyable. The first technical interview included questions on git, maven, and data structures. The second technical interview involved a coding challenge to build a calculator over three 45-minute segments. I had applied for a remote role in Turkey. Typically, companies confirm their ability to hire you before proceeding with extensive interviews, but Sonar Source did the opposite. I was eventually offered a position. The initial offer was $24,000 USD annually, which was surprisingly low compared to local Turkish companies. Despite my objections, the CEO made a slight increase, but it remained uncompetitive, more in line with local rather than European standards. I accepted the offer primarily due to the prestige of Sonar Source and the potential resume enhancement. Subsequently, the company explored remote hiring options from Turkey. The proposed solution involved me establishing a company and signing a business-to-business contract. After a month and a half of correspondence, with weekly responses from the CEO, the decision was made to reject this approach due to the perceived complexity and workload on their end. This resolution was reached without any compensation for my time. While Sonar Source is undoubtedly a reputable company, it's advisable to discuss salary expectations early on and clarify remote hiring feasibility before investing significant time.
- Can you explain the inner workings of a HashMap in Java?
Sonar Java Developer Interview Questions
Quoted word for word from Sonar interview reports.
“How would you maximize the number of nails that end up having the same length when hammering down at most K nails?”
Read reports →“Write a Calculator program.”
Read reports →“Could you list the different collections found in the Java standard library?”
Read reports →“What is the complexity for common operations on these collections?”
Read reports →“Why do these operations have that specific complexity?”
Read report →“When discussing API usage, which requests should be used, and how can data be sent in GET requests?”
Read report →“Can you explain the distinction between checked and unchecked exceptions in Java?”
Read report →“Can you explain the inner workings of a HashMap in Java?”
Read report →“For each Java collection, what are their respective use cases?”
Read report →Formats, difficulty and experience
Across all 5 Sonar interview reports.