Skip to content

wangpiju/java-algorithms-datastructures-designpatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Data Structures and Algorithms

A comprehensive Java project featuring classic data structures, algorithms, coding challenges, and practical interview patterns. This repository is designed for learning, practicing, and mastering core computer science concepts in Java.


📂 Project Structure

src/main/java/
├── algorithms/      # Classic sorting and algorithm implementations
├── datastructures/  # Core data structure implementations
├── challenges/      # Coding challenge solutions and interview problems
├── pratical_ds/     # Practical data structure usage examples
├── basic_tools/     # Utility classes and array tools

✨ Features

  • Algorithms:
    • QuickSort, InsertionSort, BubbleSort, CaesarCipher, and more.
  • Data Structures:
    • ArrayList, ArrayQueue, SinglyLinkedList, and practical scoreboard examples.
  • Coding Challenges:
    • Solutions for problems like Combination Sum, Find Peak Element, String to Integer, Merge Two Sorted Lists, Reverse Vowels, and more.
  • Utilities:
    • Array tools for common operations and demonstrations.

🚀 Getting Started

No extra setup required!
Just clone the repository and open it in your favorite Java IDE (e.g., IntelliJ IDEA, Eclipse, VS Code).

To run a specific example:

  1. Navigate to the desired class with a main method (e.g., algorithms/InsertionSort.java).
  2. Run the file directly.

🧩 Example Usage

// Example: Running InsertionSort
public static void main(String[] args) {
    char[] data = {'B', 'C', 'D', 'A', 'E'};
    InsertionSort.insertionSort(data);
    System.out.println(Arrays.toString(data)); // Output: [A, B, C, D, E]
}

📝 Contributing

Contributions are welcome!
Feel free to open issues or submit pull requests for new algorithms, data structures, or improvements.


📚 License

This project is open source and available under the MIT License.


🙋‍♂️ Author

Maintained by Jess Wang and contributors.


Let me know if you want to include more details, such as build instructions, test instructions, or a more detailed list of algorithms and data structures!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages