Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code correction : Stack_n_Queues Question Two Stack #1234

Open
chaitanyakatore opened this issue Dec 19, 2023 · 0 comments
Open

Code correction : Stack_n_Queues Question Two Stack #1234

chaitanyakatore opened this issue Dec 19, 2023 · 0 comments

Comments

@chaitanyakatore
Copy link

Stack_n_Queues Question Two Stack

  • in TwoStack question we should use sum + b[0] in line 18
  • we are using the recurssion subset solution so if we are removing first element then should be added to the sum
Screenshot 2023-12-19 at 11 30 54 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant