An open API service indexing awesome lists of open source software.

https://github.com/hyperplasma/ultimate-solutions

Hyplus solutions for LeetCode, PAT, etc. Mainly in Java, C++, and Go. Daily AC!
https://github.com/hyperplasma/ultimate-solutions

cpp golang java javascript leetcode leetcode-java marscode php pta

Last synced: 6 months ago
JSON representation

Hyplus solutions for LeetCode, PAT, etc. Mainly in Java, C++, and Go. Daily AC!

Awesome Lists containing this project

README

          

# Ultimate Solutions

A comprehensive collection of solutions and algorithm templates for programming challenges from LeetCode, PAT (Programming Ability Test), and other coding platforms, and also some homemade utils.

## Overview

This repository contains solutions and algorithm templates written by Hyperplasma to various programming problems, primarily implemented in:

- Java (mainly)
- Go
- JavaScript
- PHP
- C/C++

The solutions encompass problems from the following platforms:

- LeetCode
- Daily/Weekly/Biweekly Challenges
- Classic problem sets
- Database Problems
- PAT
- Basic Level (乙级)
- Advanced Level (甲级)
- Doubao MarsCode

For more information on each problem set, please refer to `info.md` in their respective directories.

## Features

- Cross-language algorithm templates
- Detailed problem solutions
- Multiple language implementations
- Daily updates
- Optimized solutions
- Pragmatic utils

The solution collection covers the following algorithmic categories:

### Data Structures
- Array & String Manipulation
- Linked Lists
- Trees (Binary Trees, BST, N-ary Trees)
- Graphs
- Hash Tables
- Stacks & Queues
- Heaps

### Algorithms
- Dynamic Programming
- Depth-First Search (DFS)
- Breadth-First Search (BFS)
- Binary Search
- Two Pointers
- Sliding Window
- Greedy Algorithms
- Backtracking
- Sorting & Searching
- Bit Manipulation

### Advanced Topics
- Divide and Conquer
- Union Find
- Trie
- Segment Trees
- Mathematics & Number Theory
- System Design Problems

## Usage

Each solution includes:

- Problem description
- Solution approach
- Code implementation
- Time & Space complexity

Tips for Use:

- Use the search function to find specific problems
- Check the commit history for recent updates
- Refer to `info.md` in each directory for additional details
- For questions or improvements, feel free to open an issue

## Contributing

Feel free to create issues or PRs if you have better solutions!

## License

[Apache License 2.0](LICENSE)