Apple
18 interview experiences from candidates.
Apple | Software Developer (Mid Level) | Coding | Onsite
Software Developer
You are given memory blocks of size 1 like balls in bucket write a function that allocate memory i.e. return a block of memory and free memory block i.e. adds that memory block back to bucket. For first part assume we al...
Apple | Software Engineer (Intern) | Coding | Phone Screen
Software Engineer
Differential Privacy Encoding Question for Apple Siri Team. ML/AI. For some user data, write a function that mimics differential privacy. IE. does this insert enough 'noise' to protect user data and maintain their privac...
Apple | Security Site Reliability Engineer | Coding | Phone Screen
Security Site Reliability Engineer
Write a function that takes in byte[] as an input of structure: {0, 0, 0, 4, 1, 2, 3, 4 } size | actualMessage And passes the byte[] to some other function. But the size of the message can be more than the length of the...
Apple | Senior Software Engineer | System Design | Onsite
Senior Software Engineer
Design social media app end to end. focus on live feed and ranking
Apple | Senior Software Engineer | Coding | Phone Screen
Senior Software Engineer
Given an array of k lists, each list is sorted in ascending order. Merge all the lists into one sorted list and return it.
Apple | New Grad SWE IS&T | Coding | Phone Screen
New Grad SWE IS&T
First 30 minutes was general coding principles depending on the language you choose will ask questions dependent on that. For instance, what are the 4 pillars of object oriented programming. Then move onto 30 min leetcod...
Apple | SWE Intern | Coding | Phone Screen
SWE Intern
I was asked basic OS questions about locks and virtualization. I also went through some of my projects. Then, I had to write a C function where I was given an integer and needed to determine how many 1s were in its binar...
Apple | Software Engineer | Coding | Onsite
Software Engineer
This is more sort of low level design coding round. Problem Statement Design a payment system that allows transferring money from one user to another user . The system should model the core components required for a peer...
Apple | Software Engineer | Coding | Onsite
Software Engineer
Problem Statement: You are working for a postal service company. The postal network consists of post offices connected by routes. Each route has a distance (in miles) associated with it. You are given: 1. n: the total nu...
Apple | Senior software | Coding | Phone Screen
Senior software
1) Leetcode problem 380 https://leetcode.com/problems/insert delete getrandom o1/description/ 2) Maximum product subarray problem
Apple | Software Engineering Intern, GPU Compilers | Coding | Onsite
Software Engineering Intern, GPU Compilers
This was a combination of coding and LLVM IR optimization. The coding one was LRU Cache and the llvm question is written below. LLVM IR question Optimize as much as possible: define i32 @kernel(i32 %p, i32 %n, i1 %flag)...
Apple | Software Engineering Intern, GPU Compilers | Coding | Phone Screen
Software Engineering Intern, GPU Compilers
This was a combination of coding and trivia. The coding question was Course Schedule II but reworded in terms of legal GPU operations. The trivia questions: Why is a single IR insufficient for a modern optimizing compile...
Apple | Sr Software Engineer AI agents | Coding | Phone Screen
Sr Software Engineer AI agents
Search Assist Leetcode Problem 10, titled "Regular Expression Matching," requires you to implement a function that checks if a given string matches a specified pattern using regular expression rules, including the specia...
Apple | Senior Software Engineer | Coding | Onsite
Senior Software Engineer
You are given an array of k linked lists lists, each linked list is sorted in ascending order. Merge all the linked lists into one sorted linked list and return it. Input: lists = [[1,4,5],[1,3,4],[2,6]] Output: [1,1,2,3...
Apple | Senior Software Engineer | System Design | Onsite
Senior Software Engineer
Design an adspending platform to track spend for an campaign
Apple | Software Engineer - AiDP Reliability Engineering, IS&T, Early Career | Coding | Phone Screen
Software Engineer - AiDP Reliability Engineering, IS&T, Early Career
The interview started with this simple Diamond Pattern print: Given an integer n, output a centered diamond pattern using stars ( ). There should be n lines above and n lines below the middle line. For example, if n = 3,...
Apple | Software Engineer - AiDP Reliability Engineering, IS&T, Early Career | System Design | Onsite
Software Engineer - AiDP Reliability Engineering, IS&T, Early Career
Tasked with designing the core infrastructure for a global music streaming service (similar to Apple Music). The system must support millions of concurrent users, provide sub second latency for audio playback, and ensure...
Apple | Software Engineer - AiDP Reliability Engineering, IS&T, Early Career | Coding | Onsite
Software Engineer - AiDP Reliability Engineering, IS&T, Early Career
You are developing a high performance Proxy Edge Layer application. This layer acts as an intermediary for various upstream microservices. Because the edge layer handles traffic for many different endpoints, it frequentl...