This repository contains my Java implementations of fundamental data structures and algorithms class at De La Salle University Dasmarinas.
The lab activity/repository covers the following core topics:
-
Arrays: Basic data structure for storing elements.
-
Lists: Linear data structures that allow elements to be inserted or removed at any position.
-
Linked Lists: Linear data structure where elements are not stored in contiguous memory locations.
-
Stacks: LIFO (Last-In-First-Out) data structure.
-
Queues: FIFO (First-In-First-Out) data structure.
-
Graphs: Non-linear data structures consisting of nodes and edges.
-
Trees/Binary Trees: Hierarchical data structures with a root node and child nodes.
Guide:
- 1 for Midterm Activities
- 2 for Final term Activities
- No.X, "X" represents activity for that term
# | Title | Lesson/Topic | Filename |
---|---|---|---|
2.10 | DSA Finals Lab Summative 2024 | Lab: Trees and Binary Trees | DSA_210.java |
2.9 | Graphs | Lab: Graphs | DSA_29.java |
2.8 | Binary Tree Traversal | Lab: Trees and Binary Trees | DSA_28.java |
2.7 | Counting Leaves of a Tree | Lab: Trees and Binary Trees | DSA_27.java |
2.6 | Queue - Decimal Number System | Lab: Queue | DSA_26.java |
2.5 | Queue - Operations | Lab: Queue | DSA_25.java |
2.4 | Stack - Palindrome | Lab: Stack | DSA_24.java |
2.3 | Stack - Balance | Lab: Stack | DSA_23.java |
2.2 | Stack - Operations | Lab: Stack | DSA_22.java |
2.1 | Stack - Concept | Lab: Stack | DSA_21.java |
1.8 | Midterm Summative 2024 | Lab: Linked List - Summative | DSA_18.java |
1.7 | Linked List: Inserting Elements (EA) | Lab: Linked List | DSA_17.java |
1.6 | Product of Two Matrices (EA) | Lab: Two Dimensional Arrays | DSA_16.java |
1.5 | Merging Arrays | Lab: Two Dimensional Arrays | DSA_15.java |
1.4 | Retooling Assessment 4 (EA) | Retooling Assessments | DSA_14.java |
1.3 | Retooling Assessment 3 (EA) | Retooling Assessments | DSA_13.java |
1.2 | Retooling Assessment 2 (EA) | Retooling Assessments | DSA 11and12.java |
1.1 | Retooling Assessment 1 (EA) | Retooling Assessments | DSA 11and12.java |
Specific implementations and problem-solving techniques will be provided during the lab sessions. The midterm and final exams will assess your understanding of the concepts and your ability to apply them to solve problems.
git clone https://github.com/keonbe/ITCS214.git
cd your-repo
Open the project in IntelliJ IDEA and ensure your Java SDK is set up under File > Project Structure > Project.
Issue: IntelliJ shows Decompiled .class file, bytecode version: 61.0 (Java 17)
instead of source code.
Solution:
- In Project Explorer, check if your
.java
source files exist undersrc/
. - If missing, right-click the root directory → "Mark Directory as" → "Sources Root".
- Restart IntelliJ IDEA and rebuild the project (Build > Rebuild Project).
Now, IntelliJ should recognize and compile your Java files correctly.
Contributing Feel free to contribute to this repository by:
- Adding new data structures and algorithms.
- Improving existing implementations.
- Fixing bugs.