JobsJob TrackerJob alerts

Infibeam Avenues Limited ยท 14 questions

All 14Coding 13
  • Find the maximum depth or height of a treeCoding
  • Flatten a linked list with next and child pointersCoding
  • Bottom view of a binary treeCoding
  • Print left view of a binary treeCoding
  • Check if a binary tree is BSTCoding
  • Merge k sorted arraysCoding
  • Sort elements by frequencyCoding
  • Search in row-wise and column-wise sorted matrixCoding
  • Frogs and switches problem
  • Turn off a particular bit in a numberCoding
  • Kth smallest/largest element in unsorted arrayCoding
  • Inversion count in array using merge sortCoding
  • Longest prefix also suffixCoding
  • Find next greater number set digitsCoding
โ† Infibeam Avenues Limited questions
  1. Interview questions
  2. Infibeam Avenues Limited
  3. Longest prefix also suffix
Coding

Longest prefix also suffix

Filed under Infibeam Avenues Limited

The question

Find the length of the longest proper prefix which is also a suffix.

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

Related Infibeam Avenues Limited questions

  • Find the maximum depth or height of a tree
  • Check if a binary tree is BST
  • Turn off a particular bit in a number
  • Inversion count in array using merge sort
  • Find next greater number set digits
โ† Inversion count in array using merge sortFind next greater number set digits โ†’

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