← All problemsSign in

Data Entry Problem

Kiara is a freelance data entry operator. Every day she has to type 2000 medicine names or barcodes as a part of the task. Unfortunately, she is having some problem with the keyboard. Due to this issue there are multiple entries of characters in words. Write a program to print all the duplicate characters along with their count. ###Example 1: ####Input: aabbcdb --->String ####Output: a-2 b-3

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start