Skip to content

Recreational Memory Allocator to learn about Stacks, Queues and Hashmaps (CS2_DSA)

License

Notifications You must be signed in to change notification settings

astonHC/hazzaMalloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hazzaMalloc

Recreational Memory Allocator to learn about Stacks, Queues and Hashmaps

Motive:

As it says on the tin, this project aims to provide me with the study material to be able to understand the following Data Structures on the basis of how they work in relation to the Lowest level abstraction (except written in Java)

So far, this project encompasses Stack Memory and emulating it's likeness

This involves making my own methods for allocating Blocks of Stack Memory, pushing data to said Blocks and evaluating their respective size.

Building:

git clone this repository

javac *.java

java Main.java

The following output should be this:

image

Values are hard-coded in Main.java in order to provide an example of how and where values are being pushed onto the Stack

Sources:

Code Examples

Stack vs Heap

About

Recreational Memory Allocator to learn about Stacks, Queues and Hashmaps (CS2_DSA)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages