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