- 1

Help me out with this , if i input " aaaabbbccdee " , i should get a ' compressed string ' as output which is " a4b3c2de2 "

If you din't understand I want you to write a program which can count occurrence of string calculate it display it with the letter following the count of alphabet And I want this in time complexity O(NlogN)

11th Sep 2017, 12:56 PM
Ganesan Santhanam
Ganesan Santhanam - avatar
2 Antworten
17th Sep 2017, 2:54 PM
Ms Arnold
Ms Arnold - avatar
- 1
are you giving any online coding exams or wat Ganesh, bcoz all your questions seems familiar to my placement exam questions
11th Sep 2017, 1:03 PM
Morpheus
Morpheus - avatar