dylan_9802 (dylan_9802)

Race #23371

View Pit Stop page for race #23371 by dylan_9802Ghost race

View profile for dylan_9802 (dylan_9802)

Official speed 125.60 wpm (56.56 seconds elapsed during race)
Race Start September 28, 2022 4:44:02pm UTC
Race Finish September 28, 2022 4:44:59pm UTC
Outcome No win (2 of 2)
Accuracy 97.0%
Points 240.74
Text #4940141 (Length: 592 characters)

Both the stack and the heap are parts of memory that are available to your code to use at runtime, but they are structured in different ways. The stack stores values in the order it gets them and removes the values in the opposite order. This is referred to as last in, first out. Think of a stack of plates: when you add more plates, you put them on top of the pile, and when you need a plate, you take one off the top. Adding or removing plates from the middle or bottom wouldn't work as well! Adding data is called pushing onto the stack, and removing data is called popping off the stack.