Troublesome input to analyze
Hi,
For example:
1) (((1 2) (3 4)) ((5 6) (7 8)))
2) (((1 2) 5) (3 4))
I want to extract contents between brackets, in example 2) it would look like: 1 2, 1 2 5, 3 4, 1 2 3 4 5, 5. I don't have idea, although I'm thinking about that from several hours.
Re: Troublesome input to analyze
How would you do this in your head, or with a piece of paper and a pencil? Write your steps out in plain language before you even sit down at a computer.
Re: Troublesome input to analyze
Maybe your post wasn't much helpful but the advice was :). Thanks anyway, I have solved it.
Re: Troublesome input to analyze
Care to show us how you have solved it?
Re: Troublesome input to analyze
Quote:
Originally Posted by
Ace
Maybe your post wasn't much helpful but the advice was :). Thanks anyway, I have solved it.
What was unhelpful about his advice? It seemed right on the mark to me.