DSA-Bootcamp-Java icon indicating copy to clipboard operation
DSA-Bootcamp-Java copied to clipboard

Code correction : Stack_n_Queues Question Two Stack

Open chaitanyakatore opened this issue 1 year ago • 0 comments

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

chaitanyakatore avatar Dec 19 '23 18:12 chaitanyakatore