Skip to main content
11 events
when toggle format what by license comment
Jul 24, 2019 at 20:54 comment added MadHatter Problem description verbatim from Lambda School: Write a function sortStack that receives a stack of integers into ascending order (with largest integers on top) and returns another stack with sorted integers. You may use at most one additional stack to hold items, but you may not copy the elements into any other data structure. Lambda School: lambdaschool.com
Jul 24, 2019 at 20:28 comment added Bergi Does a recursive function count as using a data structure?
Jul 24, 2019 at 18:00 history tweeted twitter.com/StackCodeReview/status/1154088988250202113
Jul 24, 2019 at 16:04 answer added James Wasson timeline score: 3
Jul 24, 2019 at 13:52 history became hot network question
Jul 24, 2019 at 11:38 answer added Blindman67 timeline score: 5
Jul 24, 2019 at 8:41 comment added MadHatter @KIKOSoftware Could you suggest an edit to the challenge description?
Jul 24, 2019 at 7:59 vote accept MadHatter
Jul 24, 2019 at 7:53 answer added KIKO Software timeline score: 4
Jul 24, 2019 at 7:46 comment added KIKO Software The description of this challenge needs some work, it is virtually incomprehensible as it is. Also: Should you not be using !stack.isEmpty() instead of stack.storage.length?
Jul 24, 2019 at 5:46 history asked MadHatter CC BY-SA 4.0