JobsJob TrackerJob alerts

Knowlarity ยท 21 questions

All 21Coding 20
  • Print Left View of a Binary TreeCoding
  • Find max/min in Binary TreeCoding
  • Nearest smaller numbers on leftCoding
  • Largest Sum Contiguous SubarrayCoding
  • Swap Even and Odd BitsCoding
  • Convert Binary Tree to Doubly Linked ListCoding
  • Min Element in Stack in O(1) TimeCoding
  • Make 24 Using Numbers 8, 8, 3, 3Coding
  • Normalize Spaces and Reverse Words in a String In-PlaceCoding
  • Find Missing Pair in Two Identical ArraysCoding
  • Implement LRU CacheCoding
  • Stream of Numbers Maximum and Unique ElementsCoding
  • Check if Binary Tree is BSTCoding
  • Maximum Subsequence in 1D ArrayCoding
  • Find Kth Bracket in Nth Term SequenceCoding
  • Merge Two Sorted Linked ListsCoding
  • Two Eggs 100-Floor Building Drop PuzzleCoding
  • Large Number CalculatorCoding
  • Find loop in a linked listCoding
  • Addition by call by referenceCoding
  • 100 floors and an egg puzzle
โ† Knowlarity questions
  1. Interview questions
  2. Knowlarity
  3. Nearest smaller numbers on left
Coding

Nearest smaller numbers on left

Filed under Knowlarity

The question

Find the nearest smaller number to the left for each element in an array.

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

Related Knowlarity questions

  • Find max/min in Binary Tree
  • Min Element in Stack in O(1) Time
  • Make 24 Using Numbers 8, 8, 3, 3
  • Normalize Spaces and Reverse Words in a String In-Place
  • Find Missing Pair in Two Identical Arrays
โ† Find max/min in Binary TreeLargest Sum Contiguous Subarray โ†’

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