The Data Structure Visualization Software helps users understand and interact with different data structures like Arrays, Stacks, Queues, Trees, and Graphs. It provides a command-line interface (CLI) to create, modify, delete, and analyze data structures efficiently.
# Clone the repository
git clone https://github.com/Pradeep3122003/DataStructures.git
# Create a new directory
cd DataStructures
# Update system packages (Linux users)
sudo apt update && sudo apt upgrade- Open
main.cppin VS Code - Compile and run using any C++ compiler
g++ main.cpp -o main
./mainWhen executed, the interface will start as:
root/>To exit, use:
root/> exitUse these commands within the software:
| Command | Description |
|---|---|
help |
Get details about a data structure. (Example: root/> help array) |
use |
Switch to a specific data structure. (Example: root/> use array) |
create |
Create a new instance. (Example: root/Array> create array1) |
show |
Display all created instances. (Example: root/Array/> show) |
drop |
Delete an instance. (Example: root/Array/> drop array1) |
insert |
Insert elements. (Example: root/Array/> insert array1) |
display |
View all elements. (Example: root/Array/> display array1) |
delete |
Remove an element. (Example: root/Array/> delete array1) |
exit |
Close the software. |
✅ Interactive CLI for hands-on learning
✅ Supports multiple data structures
✅ Easy-to-use commands for operations
✅ Cross-platform support (Windows & Linux)
✅ Open-source and customizable
📌 Contribute & Explore: Fork the repository and enhance the project! 🌟
🔗 GitHub Repo: DataStructures