issues
search
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.
https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
16.07k
stars
10.45k
forks
source link
Code correction : Stack_n_Queues Question Two Stack
#1234
Open
chaitanyakatore
opened
6 months ago
chaitanyakatore
commented
6 months ago
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
Stack_n_Queues Question Two Stack