1.find most occurrences of a character.

for exm: input:aaabbbbdddddyyy
output: d 5 times
how can i get that?


Answer Posted / ambikapathy velu

CHECK opcode will returns no of repeated char in a string

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2425


can I touch the array during treatments?

966


What is the purpose of record level identifier?

921


When it is desirable to describe files Internally?

1422


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3583


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2573


what was the robotech rpg?

896


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

1004


what is the necessary keyword needed to scroll subfile records?

935


how do you use commitment control in rpg?

1017


what are the key words you must use when using a subfile?

911


do you use message subfiles? What are the necessary keywords required coding a message subfile?

926


What is ment by record level identifier?

883


What is the difference between iter and do?

970


what is *place and *auto keyword in prtf ?plz explain

2948