kewl (hyper_racer)

Race #46149

View Pit Stop page for race #46149 by hyper_racerGhost race

View profile for kewl (hyper_racer)

Official speed 126.84 wpm (56.01 seconds elapsed during race)
Race Start August 15, 2021 11:52:50pm UTC
Race Finish August 15, 2021 11:53:46pm UTC
Outcome No win (1 of 1)
Accuracy 98.0%
Points 243.12
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.