TOC
CHAT

《Ultimate Solutions》——算法题解与实用模板

A comprehensive collection of solutions for programming challenges from LeetCode, PAT (Programming Ability Test), and other coding platforms.

GitHub仓库:github.com/Akira37R/Ultimate-Solutions
Gitee仓库:gitee.com/akira37/Ultimate-Solutions

Overview

This repository contains solutions 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:

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


Features

  • Detailed problem solutions
  • Multiple language implementations
  • Daily updates
  • Optimized solutions

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

发表评论