Two test cases are not correct for my code. Please tell me how can i correct my code.
Here is the link for code: https://ide.codingblocks.com/s/189354
Two test cases are not correct for my code. Please tell me how can i correct my code.
Here is the link for code: https://ide.codingblocks.com/s/189354
hi @HemantKumar,
sir, your code is not working for large inputs , i am debugging it it will take some time
Test case:
jshbjahbcdsjdnocloidfhibdckadlivcnsnksonjshsbdinihgbl.sksjsocksbuhbfeuyrefeujsjdhbhsscaodainabshgblocbsjasbk
codingblocks
provides wrong answer
ur code o/p: dinihgbl.sksjsoc
required: caodainabshgblocbsjasbk
NOTE: multiple occurrence of c are being neglected
DO NOT TAKE SET datastructure, it would not take into consideration multiple occurence of same character…