JobsJob TrackerJob alerts

NinjaCart ยท 19 questions

All 19Coding 15Low-Level Design 1
  • Kadane's algorithm and remove duplicates from sorted arrayCoding
  • Add two numbers represented by linked listsCoding
  • Print all permutations of a string in lexicographical orderCoding
  • Right View of Binary TreeCoding
  • Aptitude Test
  • Basic String PatternCoding
  • Josephus ProblemCoding
  • String ManipulationCoding
  • Need for Data Structures
  • Reverse Array using RecursionCoding
  • Product Array PuzzleCoding
  • First Non-Repeating CharacterCoding
  • Quick Sort PartitionCoding
  • Find 6th Largest Element in StreamCoding
  • Next Greater ElementCoding
  • ATM Class DesignLow-Level Design
  • DBMS and SQL
  • Move zeroes to endCoding
  • Reverse a linked listCoding
โ† NinjaCart questions
  1. Interview questions
  2. NinjaCart
  3. Print all permutations of a string in lexicographical order
CodingReported in a candidate post, Dec 2024

Print all permutations of a string in lexicographical order

Filed under NinjaCart

The question

Return all permutations of a string in lexicographically sorted order without relying on built-in functions.

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

Related NinjaCart questions

  • Kadane's algorithm and remove duplicates from sorted array
  • Basic String Pattern
  • Reverse Array using Recursion
  • Quick Sort Partition
  • Find 6th Largest Element in Stream
โ† Add two numbers represented by linked listsRight View of Binary Tree โ†’

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