cswork / companiesOpen practice workspace

BY CATEGORY · Apple

Apple Coding & algorithms Interview Questions

Prepare for Apple Coding & algorithms questions: 34 interview questions from real interviews. Read, practise and mock them on CSWork.

Questions
34
Updated
2026-10-03

Interview questions 34

Filter in the workspace
  1. CodeUnit Ratio Queries Across Independent Unit Families with Modular AnswersMedium
  2. CodeDays Until Poison Stops Spreading in a Plant Grid Under a K-of-8-Neighbors RuleMedium
  3. CodeSimulate a Fixed-Capacity Least-Recently-Used Cache over a Stream of OperationsMedium
  4. CodeMerge Two Strings Using the Longest Edge OverlapMedium
  5. CodeFind the Extra EdgeHard
  6. CodeEncode and Rebuild a Binary TreeHard
  7. CodeWrap Matching Substrings in Bold TagsMedium
  8. CodeGenerate Tower of Hanoi movesMedium
  9. CodeImplement Kubernetes Service Dependency QueriesMedium
  10. CodeZero out duplicates and sort an arrayMedium
  11. CodeCompute conflicts and minimum meeting roomsHard
  12. CodeSolve 15 common Apple coding questionsMedium
  13. CodeSolve stock and banana problemsMedium
  14. CodeWrite a generator for substring pattern matchesMedium
  15. CodeImplement TF-IDF scoring for documentsMedium
  16. QSolve interval, grid-fill, and heap tasksMedium
  17. CodeImplement most_frequent_key without using max()Easy
  18. CodeRotate a Matrix In PlaceMedium
  19. CodeSolve Digit-Square and Grid BFS ProblemsMedium
  20. CodeFind longest uniform substring after k replacementsMedium
  21. QImplement deep clone for complex objectsMedium
  22. QFind top-k frequent elements efficientlyMedium
  23. CodeSort and merge string lists by lengthMedium
  24. CodeImplement rotation, LRU cache, streaming median, cycle detectionMedium
  25. CodeImplement DFS for connected componentsMedium
  26. CodeDesign card deck with shuffle and orderMedium
  27. CodeDesign a rolling five-minute hit counterMedium
  28. CodeImplement bag-of-words similarity search from scratchMedium
  29. QCompute top three scores per studentMedium
  30. CodeCompute island size in gridMedium
  31. CodeFind Smallest Missing Positive Integer in O(n) TimeMedium
  32. CodeMaximize funds with capital-gated projectsMedium
  33. CodeImplement sparse vector dot product and cosine similarityMedium
  34. CodeFind Maximum Sum of Contiguous Subarray Length kMedium