Apple | ICT4 Data Engineer | Vancouver | May 2020 [Offer]

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2020-05-13Added By Anonymous
Source: Link

Round 1: [Coding]

•Some Big Data specific questions (Spark)
•https://leetcode.com/problems/maximum-subarray/


Round 2: [Coding]

•https://leetcode.com/problems/find-median-from-data-stream/


Round 3: [Big Data specific coding (Spark)]

•Implement explode function (without using pre-built spark explode)
•Some questions about Spark


Round 4: [Behavioral]


Round 5: [Coding]

•Some easy sql questions.
•Given 2 Strings: Check if you can make the second string by copypasting the whole first string multiple times and inserting it in any place.

"XY" "XXXYYY" -> True (XY -> X[XY]Y -> XX[XY]YY)


Round 6: [Coding]

•Some Big Data specific questions (Spark)
•The problem i met first time:
•Given 2 things: array of tuple pairs(chars) and string. Check if you can make this string using characters in this tuples. The main requirement: if you used one element in tuple, you can not use the second element in the same tuple and vice versa
•[("l" , "e") , ("u" , "t"), ("c" , "o")] , "cul" -> True
•[("l" , "e") , ("u" , "t"), ("c" , "o")] , "lut" -> False
•[("l" , "e") , ("u" , "t"), ("c" , "o")] , "leco" -> False
Comments