I applied online. I interviewed at UBS (London, England) in Jun 2024
Interview
Its an unfair and automated process. I applied online and got a test link from hackerrank. Total time - 70 mins. One average DS and algo question and multiple choice core java questions. There is no way you can solve this problem in an hour. So keep the solution ready by your side and just type(do not copy -paste as hackerrank will detect it). Looks like that is what they want. This was the question which they want the candidate to code in an hour -
Given a list of strings and a search word.
you need to store the words in a proper data structure. Then iterate over the search word and for each prefix you need to return 3 words in lexicographical order.
List> solve(List words, String search)
example - words[aaaa, abcc, abd, abe]
search - abc
output - [[aaaa,abcc,abd],[abcc,abd,abe],[abcc]]
explanation - prefix a-aaaa,abcc,abd
prefix ab -abcc,abd,abe
prefix abc-abcc
I used a trie data structure and at each node I kept a TreeSet containing the words which would follow. I was getting two 2 instead of 3 words at each prefix. The time was over and I got an automated reply within 2 mins that I have been rejected. I did not get time to look at code java multiple choice questions.
Interview questions [1]
Question 1
Given a list of strings and a search word.
you need to store the words in a proper data structure. Then iterate over the search word and for each prefix you need to return 3 words in lexicographical order.
List> solve(List words, String search)
example - words[aaaa, abcc, abd, abe]
search - abc
output - [[aaaa,abcc,abd],[abcc,abd,abe],[abcc]]
explanation - prefix a-aaaa,abcc,abd
prefix ab -abcc,abd,abe
prefix abc-abcc
I joined for a junior role and the interview process was very straightforward. First step was filling some online forms about general fit. Then a technical interview over Teams - no live coding was involved, only questions about my past experience, the technologies I worked with and how I would solve problem xyz. After that it's straight to manager interview and decision.
Interview questions [1]
Question 1
Give a detailed overview of how you would design a pipeline for streaming large amounts of data and reduce the risk of throttling or failure.
Made it to 3rd round.
1st round -> Aptitude Assessment
2nd round -> Hirevue
3rd round -> Mob Programming
Didnt make it past the mob programming session, (mob programming includes a group coding session where you and two other candidates work together to solve a problem)
Group interview with 2 other people. They give us a problem, allow us 15 minutes of prep time, then each will sequentially get access to a keyboard to code for 10 minutes. After the code, each person is asked about what went well and what could be better