Skip to content

This repository contains implementations of some classic data structures, algorithms and solutions of LeetCode questions.

License

Notifications You must be signed in to change notification settings

OceanSJY/data-structures-and-algorithms-training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structures and Algorithms Training

This repository contains implementations or code segments of some classic data structures, algorithms and solutions of LeetCode questions.

Algorithms Training

Bubble Sort Algorithm:

Merging Sort Algorithm:

Quick Sort Algorithm:

Insertion Sort Algorithm:

Selection Sort Algorithm:


Data Structure

Link List:


LeetCode Questions:

LeetCode No.1 question: Two Sum

LeetCode No.2 question: Add Two Numbers

  • [C#] Solution, the solution is INCORRECT since it cannot handle the big number, but I still keep it
  • [C#] Official Answer

LeetCode No.4 question: Median of Two Sorted Arrays

LeetCode No.5 question: Longest Palindrome Substring

LeetCode No.7 question: Reverse Integer

LeetCode No.8 question: String to Integer (atoi)

LeetCode No.9 question: Palindrome Number

LeetCode No.15 question: Three Sum

LeetCode No.16 question: Three Sum Closest

LeetCode No.17 question: Letter Combinations of a Phone Number

LeetCode No.18 question: Four Sum

LeetCode No.20 question: Valid Parentheses

LeetCode No.21 question: Merge Two Sorted Lists

LeetCode No.23 question: Merge K Sorted Lists

About

This repository contains implementations of some classic data structures, algorithms and solutions of LeetCode questions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages