kunal-kushwaha / DSA-Bootcamp-Java

This repository consists of the code samples, assignments, and notes for the Java data structures & algorithms + interview preparation bootcamp of WeMakeDevs.

Home Page:https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code correction : Stack_n_Queues Question Two Stack

chaitanyakatore opened this issue · 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