- 3
Help me in this string problem. Solution need as soon as possible.
You are given a string s. You need to find two non-empty strings a and b such that the following conditions are satisfied: Strings a and b are both subsequences of s. For each index i, character si of string s must belong to exactly one of strings a or b. String a is lexicographically minimum possible; string b may be any possible string. Given string s, print any valid a and b.
5 Antworten
+ 2
Where is your solution?
+ 1
U r cheating in Ur exams
0
"Solution need as soon as possible."
Choice of multiple languages.
I think trying to cheat in an exam is the most charitable interpretation.
- 1
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ its in my pc. And I am trying
- 1
Jolen Mascarenhas not at all. Just stuck in the problem.