Skip to content

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

License

Notifications You must be signed in to change notification settings

hyperplasma/Ultimate-Solutions

Repository files navigation

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:

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