cswork / companiesOpen practice workspace

BY CATEGORY · LinkedIn

LinkedIn Coding & algorithms Interview Questions

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

Questions
33
Updated
2026-10-03

Interview questions 33

Filter in the workspace
  1. CodeReturn the K Smallest Pairwise Products of Two Sorted ArraysMedium
  2. CodeMerge Two N-ary Trees by Matching Node KeysEasy
  3. CodeInverse-Depth Weighted Sum of a Nested Integer ListEasy
  4. CodeOverlay two binary trees into one by summing values at shared positionsMedium
  5. CodeGenerate All Distinct Permutations of a List with Duplicate ValuesMedium
  6. CodeFind the Node Where Two Singly Linked Lists MergeMedium
  7. CodeFind Users with at Least One Session Within a Duration LimitMedium
  8. CodeTraverse a Binary Tree in Zigzag Level OrderMedium
  9. CodeMeasure LRU Cache Hits and Misses for an Access WorkloadMedium
  10. CodeCount the Maximum Number of Collinear PointsMedium
  11. CodeSecond-Smallest Value in a Min Tournament Tree in Logarithmic TimeMedium
  12. CodeCheck Whether a String Is a Signed Decimal Number Without Exponent NotationMedium
  13. QSum Every Element of an N-Dimensional Array Readable Only by Index ListsHard
  14. CodeArrange Nonnegative Integers to Form the Largest NumberEasy
  15. CodeAnswer Repeated Shortest Word Distance QueriesEasy
  16. CodeGenerate uniform 0–6 from biased coinMedium
  17. CodeCompute inverse-depth weighted sum of nested listsMedium
  18. CodeCheck perfect square using binary searchMedium
  19. CodeCount connected land components in a gridMedium
  20. CodeValidate parentheses with one or three bracket typesMedium
  21. CodeImplement fast sampling for weighted k-sided dieMedium
  22. QImplement stream random sampling in PythonMedium
  23. QDifferentiate Java final, finalize, finallyMedium
  24. QCompare heap and stack memoryMedium
  25. CodeDetermine sanitized palindrome in stringMedium
  26. QFind k closest values in a BSTMedium
  27. CodeMinimize adjacent-color assignment costMedium
  28. QDesign a max-stack with efficient operationsMedium
  29. QAnalyze time and space complexityMedium
  30. CodeSolve min window & animal conflictsMedium
  31. CodeCount islands and distinct shapesMedium
  32. CodeFind shortest word transformation with cachingMedium
  33. CodeCompute total covered interval lengthMedium