Apple | Phone Screen | Return Following Elements

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2019-05-26Added By Anonymous
Source: Link

Status: New grad, BS CS Loyola Marymount University

Position: Software Engineer for AMP

Location: Cupertino, CA

Date: May 30, 2019


Technical phone screen (1 hour):

•Behavioral questions (Talk about projects and resume)
•Algorithm question using coderpad
•Given a list of objects (unknown type), and an element in the list, return the following elements
•examples:
1getFollowingElements([1,2,3,4], 2) --> [3,4] 2getFollowingElements([a,b,c,d,e], e) --> [] 3getFollowingElements([a,b,c,d,e], Null) --> throw error
•asked for runtimes, ways to make it more efficient


Next steps will be one more phone interveiw with coderpad, then onsite interview

Comments