tag:blogger.com,1999:blog-4897852507236595019.post1359871492284601717..comments2023-10-28T02:22:32.291-07:00Comments on Techno Terminal: Java Program to check whether open parenthesis is closed properly or notAnonymoushttp://www.blogger.com/profile/15672644251702841706noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4897852507236595019.post-30020831727721622052015-12-02T01:09:14.195-08:002015-12-02T01:09:14.195-08:00Its returning true for the input "([)]"....Its returning true for the input "([)]". Could you please check again?<br />And In this case ,the use of 'p' variable is that you can print what value is popped out from stack,not of much use.<br /><br />ThanksAnonymoushttps://www.blogger.com/profile/15672644251702841706noreply@blogger.comtag:blogger.com,1999:blog-4897852507236595019.post-16575127100734451482015-12-02T00:37:41.116-08:002015-12-02T00:37:41.116-08:00Not that simple. It's incorrect.
doesnt work ...Not that simple. It's incorrect. <br />doesnt work for: "([)]" and the likes.<br />what is the use of 'p' here ?<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4897852507236595019.post-6454003434220580922015-08-14T09:57:47.885-07:002015-08-14T09:57:47.885-07:00Great help! Thanks! Great help! Thanks! Anonymousnoreply@blogger.com