Sonar logo

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

4.6 Rounds average
Easy Typical difficulty
60% Positive experience

Candidate interview experiences

First-hand accounts from people who interviewed at Sonar.

Showing 3 of 5
Sonar logo
Sonar

Java Developer

Engineering · a year ago

Entry Average Positive experience No offer 5 rounds
Interview process
Technical screen Recruiter call Technical screen Onsite Recruiter call
Interview formats
Technical Behavioral

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.

Confirmed questions5 questions
  • 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?
Sonar logo
Sonar

Java Software Engineer

Engineering

Mid Average Positive experience No offer 6 rounds
Interview process
Technical screen Recruiter call Technical screen Technical screen Technical screen Technical screen
Interview formats
Coding Behavioral Technical

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.

Confirmed questions8 questions
  • 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)
Sonar logo
Sonar

Senior Java Developer

Engineering

Senior Easy Negative experience Decline offer 6 rounds
Interview process
Recruiter call Technical screen Technical screen Technical screen Panel Technical screen
Interview formats
Technical Coding Behavioral

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.

Confirmed questions1 question
  • 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

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.

Interview formats

Technical 31.2%
Behavioral 25%
Coding 25%
Presentation 12.5%
Group 6.2%

Interview difficulty

Easy 40%
Average 40%
Difficult 20%

Candidate experience

Positive 60%
Negative 40%