Apple Full stack engineer- java and react js
Summary
I underwent an interview process for a Full Stack Developer role at Apple's Hyderabad office, which included an online assessment and two 1.5-hour technical rounds. The interviews covered React.js for frontend and Java for backend, involving specific coding challenges on hierarchical data display and grouping anagrams. Despite my efforts, I received a rejection.
Full Experience
Hello guys,
Recently got shortlisted for a full stack developer position for Apple Hyderabad office. Here's how the interview went
Firstly, there is an online assesment on coderpad which needs to be done. The test has roughly 25 questions, a mix of MCQs and coding problems. It is very difficult to finish the test on time, and its okay if 2-3 questions get left out.
After that a recruiter will reach out to you to schedule interviews. I gave two interviews , each lasting for almost 1.5 hrs.
For frontend, I was given option whether I'd like react or angular questions and since I've been working on react lately, I opted for it.
The question was given a dataset of employees which have attributes as id, name, department and reportees which is a list of employees again, implement a file structure kind of system where on clicking one employee you must see it's data and reportees.
Did a basic working implementation of the same using functional components. Dont focus much on styling or css.
Follow up question to this was what if any employee has no reportees? Make sure to handle edge cases carefully.
Provided a working solution with all edge cases handled.
Second round was on same day for Java. Same coderpad setup which was for frontend round too to code.
Question was given an array of words determine which words are anagrams and return them
ex. I/P : ["bat", "tab", "eat", "tea"] O/P: [["bat","tab"],["eat","tea"]]
Did a brute force method approach first, then with a few hints optimized it by using hashmap where key is the word and value is 26 length integer of 1s and 0s representing the count of alphabets with a delimiter like # after count of every alphabet.
Missed out on edge case handling of blank sting in input. Couldn't complete an executable code. Interviewer also deep dived into time and space complexities of the appraoches and asked working of hashmap, what happens when there is collision, deep dived into red black trees and its concept.
Final verdict: Rejected, no feedback, just an auto generated email saying thanks(wtf?) Feeling really dejected
Interview Questions (2)
Given a dataset of employees which have attributes as id, name, department and reportees which is a list of employees again, implement a file structure kind of system where on clicking one employee you must see it's data and reportees. Follow up question to this was what if any employee has no reportees? Make sure to handle edge cases carefully.
Given an array of words determine which words are anagrams and return them. Example: I/P : ["bat", "tab", "eat", "tea"], O/P: [["bat","tab"],["eat","tea"]].
Preparation Tips
I opted for React questions since I had been working on React lately.