can anyone please give me example that what actually the program wants from us to do?
help out please
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Misiu
9 September 2020, 23:06
Example1 for 4 strings:
aa
bbbb
c
d
shortest: c, d, longest: bbbb
longest occurs earlier, so we have to display: bbbb
Example2 for 4 strings:
aaa
bb
ccccc
dd
shortest: bb, dd, longest: ccccc
shortest occurs earlier, so we have to display: bb
+4
sourav bamotra
10 September 2020, 17:13
alright misiu. just solved it. Thanks for your help. :)
0