Hi,
In previous email I posed my questions regarding computing sub-sequences
and operators.
But have not received appropriate answer.
Therefore, I write another question.
I need to generate digit sequences from a number.
Give N= 2034
int[] s = reverseDigit(N); // s[] = {2, 0, 3, 4};
Now, I need to generate the following set numbers
S1 = {2, 0, 3, 4}
s2 = {2, 0, 34}
s3 = {2, 034} // not acceptable
s4 = {20, 3, 4}
s5 = {20, 34}
s6 = {203, 4}
s7 = {2034}
I tried, but could not write the code.
Thank you very much for assistance.
-- Amir
--
You received this message because you are subscribed to the Google Groups
"Google Code Jam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.