I applied online. The process took 1 week. I interviewed at Microsoft (Tel Aviv) in Jun 2020
Interview
Phone interview with HR to see if you fit the profile in terms if work experience and characteristics. After that they sent me a Codility test with 3 questions in 2 hour.
Interview questions [1]
Question 1
1) Given an array of N (natural) integers. return the largest number K (K>0) only if K and -K exist in the array, if there's no such number return 0. For example if arr=[4,-4, 3, -3, 2], should return 4, and arr=[-2,0,0,-3] should return 0. I think the algorithm should solve this in O(N).
2) Given a string S of N letters, we want to return the alphabetically largest letter that occurs in both lowercase and uppercase in S, or decide that there's no such letter. For example S=aaBabcDaA, should return "B", else should return "NO". For example S=Codility, return "NO".
3) A very long question about Jafar & Aladdin, pawn game. Find the maximum pawns owned by Aladdin that Jafar can beat in his turn (given a board N x N). Sorry.