Why are there heap and stack areas?

Heap (data structure): Heap can be regarded as a tree, such as: heap sort;

Stack (Data Structure): A first-in, last-out data structure.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324785939&siteId=291194637