The first step was a Codility test of 2.5 hours, where you are supposed to keep your both microphone and camera on the entire time. There were 3 questions of medium/ easy level.
You are given an integer array nails, where nails[i] represents the length of the i-th nail. You have a hammer and can perform at most k hammer strikes. In one hammer strike, you can decrease the length of any one nail by exactly 1. Return the maximum number of nails that can be made equal in length using at most k hammer strikes.
You are given a string s consisting only of the characters 'a', 'b', 'c', and 'd'. You can perform the following operation any number of times: choose two adjacent characters that form one of the pairs "ab", "ba", "cd", or "ca", and remove those two characters from the string. After removing a pair, the remaining characters are concatenated, so new adjacent pairs may be formed. Return the resulting string after no more valid operations can be performed.
You are given a positive integer n represented in binary. In one operation, if n is even, divide it by 2; if n is odd, subtract 1 from n and then divide it by 2. Repeat these operations until n becomes 0. Return the total number of operations performed.
The following metrics were computed from 2 interview experiences for the Sonar Java Engineer role in Germany.
Sonar's interview process for their Java Engineer roles in Germany is extremely selective, failing the vast majority of engineers.
Candidates reported having mixed feelings for Sonar's Java Engineer interview process in Germany.