JobsJob TrackerJob alerts

Poshmark ยท 15 questions

All 15Coding 12Product Sense 1
  • Element Occurrence and Diagonal Matrix Character CheckCoding
  • Find Index of Pairs with Target SumCoding
  • Pair Sum, Anagram, and List AdditionCoding
  • Explain and optimize OA submissionsCoding
  • Print frequency of array elements and compare treesCoding
  • HTML and CSS timestamp displayProduct Sense
  • Nth node from the end of a linked listCoding
  • Intersection point of two linked listsCoding
  • iOS table views, closures, and completion handlers
  • Print all elements having maximum frequencyCoding
  • Reversing first k elements of a queueCoding
  • Set Matrix ZeroesCoding
  • Completion handler lifecycle scenario
  • Dynamic programming and Tree problemsCoding
  • Array and String manipulationCoding
โ† Poshmark questions
  1. Interview questions
  2. Poshmark
  3. Reversing first k elements of a queue
Coding

Reversing first k elements of a queue

Filed under Poshmark

The question

Reverse the first k elements of a given queue.

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

Related Poshmark questions

  • Element Occurrence and Diagonal Matrix Character Check
  • Find Index of Pairs with Target Sum
  • Pair Sum, Anagram, and List Addition
  • Explain and optimize OA submissions
  • Print frequency of array elements and compare trees
โ† Print all elements having maximum frequencySet Matrix Zeroes โ†’

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