i
Apple
Work with us
Filter interviews by
Parquet is a columnar storage file format optimized for use with big data processing frameworks, enabling efficient data compression and encoding.
Columnar Storage: Parquet stores data in columns rather than rows, which improves read performance for analytical queries.
Efficient Compression: Parquet supports various compression algorithms (e.g., Snappy, Gzip) to reduce storage space and improve I/O performance.
Schem...
Reverse a string by iterating through the characters and swapping them
Create a function that takes a string as input
Initialize two pointers, one at the beginning and one at the end of the string
Swap the characters at the two pointers and move them towards the center until they meet
Count the number of islands in a graph
Use Depth First Search (DFS) or Breadth First Search (BFS) to traverse the graph
Mark visited nodes to avoid revisiting them
Each connected component represents an island
A simple website can be created using HTML, CSS, and JavaScript to display content and interact with users.
Use HTML for structure: Example - <div>, <h1>, <p> tags.
Style with CSS: Example - body { background-color: lightblue; }
Add interactivity with JavaScript: Example - document.getElementById('myBtn').onclick = function() { alert('Hello!'); };
Consider responsive design: Use media queries to adju...
Merge two sorted arrays to give a sorted array and generate sequence of powers of 2 using SV randomization constraints.
Create a new array to store the merged result
Use two pointers to iterate through the two sorted arrays and compare elements
Add the smaller element to the new array and move the pointer for that array
Continue this process until all elements are merged
To generate sequence of powers of 2, use SV rand...
Kevin has 'N' buckets, each consisting of a certain number of fruits. Kevin wants to eat at least 'M' fruits. He is looking to set a marker as high as possible such t...
Find the marker value needed for Kevin to eat at least 'M' fruits from 'N' buckets.
Iterate through each test case and calculate the marker value needed based on the number of fruits in each bucket.
Subtract the marker value from the number of fruits in each bucket and check if the total is at least 'M'.
Return the highest possible marker value for each test case.
Given an array of positive integers, determine the Greatest Common Divisor (GCD) of a pair of elements such that it is the maximum among all possible pairs in the array. The ...
Find the maximum GCD of a pair of elements in an array of positive integers.
Iterate through all pairs of elements in the array to find their GCD.
Keep track of the maximum GCD found so far.
Use Euclidean algorithm to calculate GCD efficiently.
Return the maximum GCD value found.
It's Christmas and Santa has 'K' gifts to distribute. There are 'N' children standing in a straight line in the park due to COVID restrictions. You are given an array distance
...
Find the minimum distance Santa must travel to distribute 'K' gifts to 'K' different children standing in a straight line.
Sort the array 'distance' to easily calculate the minimum distance Santa has to walk.
Calculate the difference between adjacent elements in the sorted array and sum the first 'K-1' differences to get the minimum distance.
Return the minimum distance Santa has to walk for each test case.
Ninja, a boy from Ninjaland, receives 1 coin every morning from his mother. He wants to purchase exactly 'N' candies. Each candy usually costs 2 coins, but it is available for 1 c...
Calculate the earliest day on which Ninja can buy all candies given the number of candy types, special offers, and Ninja's candy preferences.
Iterate through each day and check if any special offers are available for the candies Ninja wants to buy.
Keep track of the remaining candies Ninja needs to buy and the coins he has each day.
Consider both regular price and sale price while making purchases.
Return the earliest...
You are provided with ‘N’ types of umbrellas, where each umbrella type can shelter a certain number of people. Given an array UMBRELLA
that indicates the number of people each umb...
Given 'N' types of umbrellas with different capacities, find the minimum number of umbrellas required to shelter exactly 'M' people.
Iterate through the umbrella capacities and try to cover 'M' people using the minimum number of umbrellas.
Keep track of the total number of people covered and the number of umbrellas used.
If it is not possible to cover 'M' people exactly, return -1.
Return the minimum number of umbrell...
I appeared for an interview in Apr 2025, where I was asked the following questions.
There were 2 coding questions
Count the number of islands in a graph
Use Depth First Search (DFS) or Breadth First Search (BFS) to traverse the graph
Mark visited nodes to avoid revisiting them
Each connected component represents an island
Asdljf;aoiwejf;oiawhef;oidsj;lfkj;aowejf;oiawje;f
I appeared for an interview in Nov 2024, where I was asked the following questions.
I appeared for an interview in Nov 2024, where I was asked the following questions.
Parquet is a columnar storage file format optimized for use with big data processing frameworks, enabling efficient data compression and encoding.
Columnar Storage: Parquet stores data in columns rather than rows, which improves read performance for analytical queries.
Efficient Compression: Parquet supports various compression algorithms (e.g., Snappy, Gzip) to reduce storage space and improve I/O performance.
Schema Evo...
I applied via Job Portal and was interviewed in Nov 2023. There were 3 interview rounds.
Reverse a string by iterating through the characters and swapping them
Create a function that takes a string as input
Initialize two pointers, one at the beginning and one at the end of the string
Swap the characters at the two pointers and move them towards the center until they meet
I applied via Campus Placement
Hackerrank test, it was simple cuz intern
A simple website can be created using HTML, CSS, and JavaScript to display content and interact with users.
Use HTML for structure: Example - <div>, <h1>, <p> tags.
Style with CSS: Example - body { background-color: lightblue; }
Add interactivity with JavaScript: Example - document.getElementById('myBtn').onclick = function() { alert('Hello!'); };
Consider responsive design: Use media queries to adjust la...
I applied via LinkedIn and was interviewed in Feb 2024. There was 1 interview round.
Merge two sorted arrays to give a sorted array and generate sequence of powers of 2 using SV randomization constraints.
Create a new array to store the merged result
Use two pointers to iterate through the two sorted arrays and compare elements
Add the smaller element to the new array and move the pointer for that array
Continue this process until all elements are merged
To generate sequence of powers of 2, use SV randomiza...
Top trending discussions
The duration of Apple interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 15 interview experiences
Difficulty level
Duration
Software Engineer
225
salaries
| ₹50.7 L/yr - ₹80 L/yr |
Software Developer
118
salaries
| ₹23.4 L/yr - ₹40 L/yr |
Ipro
116
salaries
| ₹2 L/yr - ₹5 L/yr |
Sales Executive
100
salaries
| ₹1.6 L/yr - ₹4.8 L/yr |
Senior Software Engineer
93
salaries
| ₹18 L/yr - ₹68.5 L/yr |
Amazon
Microsoft Corporation
Samsung