Phew I think all cases covered to the best of my knowledge.
http://www.ideone.com/xHOQ9
<http://www.ideone.com/xHOQ9>Few that remain include cases like '\'' "\"
appear in the source code.can be fixed easily.
Also not counting quoted and array initialization {} pairs as depth.
Counting the main body as depth level 1.



PS:I have not tested it extensively so quite possible few bugs remained
unattended.Apologies in that case
-- 
Saurabh Singh
B.Tech (Computer Science)
MNNIT ALLAHABAD

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" 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 this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to