JobsJob TrackerJob alerts

Enquero · 9 questions

All 9Coding 6Behavioral 2
  • Find duplicate characters, count, and indices in a stringCoding
  • Social media influencers: impact on behaviour and societyBehavioral
  • Reverse a string, check palindrome and print patternsCoding
  • Aptitude, Java collections, SQL joins and puzzlesCoding
  • Group discussion on pandemic impactBehavioral
  • OOPs concepts, Bubble Sort and Linked List using StacksCoding
  • Kth smallest element and linked list middleCoding
  • Nth largest elementCoding
  • Rope burning puzzle
← Enquero questions
  1. Interview questions
  2. Enquero
  3. Find duplicate characters, count, and indices in a string
Coding

Find duplicate characters, count, and indices in a string

Filed under Enquero

The question

Given a string, find all duplicate characters, print the duplicate characters followed by their counts and the indices where they were found.

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

Related Enquero questions

  • Reverse a string, check palindrome and print patterns
  • Aptitude, Java collections, SQL joins and puzzles
  • OOPs concepts, Bubble Sort and Linked List using Stacks
  • Kth smallest element and linked list middle
  • Nth largest element
Social media influencers: impact on behaviour and society →

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