JobsJob TrackerJob alerts

LinkedIn · 105 questions

All 105Coding 86System Design 9Behavioral 9Product Sense 1
  • Host Manager Discussion on Leadership and SituationsBehavioral
  • Valid BST from pre-order traversalCoding
  • Maximum consecutive days all employees presentCoding
  • Total number of visible nodes in a binary treeCoding
  • Leftmost unique element in arrayCoding
← LinkedIn questions
  1. Interview questions
  2. LinkedIn
  3. Leftmost unique element in array
Coding

Leftmost unique element in array

Filed under LinkedIn

The question

Find the leftmost unique element in an array (e.g., for [2, 5, 2, 3, 5, 6, 8], the answer is 3) in O(n) time complexity.

No write-up yet. Related questions below have one.

Related LinkedIn questions

  • Minimum knight moves
  • Cinema hall seat allocation (similar to Can Place Flowers)
  • Reverse nested weighted list sum
  • Inclusive and exclusive times from nested timestamped logs
  • Paint House with a follow-up for K colours
← Total number of visible nodes in a binary tree

Collected from public candidate posts and coding forums. Updated Nov 2026.