output
[0]
0
[1]1
[0,1]1
[1,1]2
[1,[1,2]]-2
[1,2,[8]]-5
[1,[2],[3]]-4
[9,[3,4,[[2]]]]0
[2,[[2]]]4
Write Function for it.
public int ExpressEval(string expression)
i.e
if input string is "[1,2,[5,3]]" then ur function must return -5.
I need this code urgently,so plz try helping me :confused:


Sign In
Create Account

Back to top









