All Projects → phishman3579 → Java Algorithms Implementation

phishman3579 / Java Algorithms Implementation

Licence: apache-2.0
Algorithms and Data Structures implemented in Java

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Java Algorithms Implementation

Interview Questions
List of all the Interview questions practiced from online resources and books
Stars: ✭ 187 (-95.24%)
Mutual labels:  algorithm, graph, data-structures, tree, sort
Algorithms
Minimal examples of data structures and algorithms in Python
Stars: ✭ 20,123 (+412.43%)
Mutual labels:  algorithm, graph, tree, sort
Javascript Datastructures Algorithms
📚 collection of JavaScript and TypeScript data structures and algorithms for education purposes. Source code bundle of JavaScript algorithms and data structures book
Stars: ✭ 3,221 (-17.98%)
Mutual labels:  algorithm, graph, data-structures, tree
Java Ds Algorithms
Data Structures and Algorithms in Java
Stars: ✭ 125 (-96.82%)
Mutual labels:  algorithm, graph, tree, sort
Algorithms
Study cases for Algorithms and Data Structures.
Stars: ✭ 32 (-99.19%)
Mutual labels:  algorithm, graph, data-structures, tree
Algorithms
CLRS study. Codes are written with golang.
Stars: ✭ 482 (-87.73%)
Mutual labels:  algorithm, graph, tree, sort
Data Structures Algorithms
My implementation of 85+ popular data structures and algorithms and interview questions in Python 3 and C++
Stars: ✭ 273 (-93.05%)
Mutual labels:  algorithm, graph, data-structures, tree
Dsa.js Data Structures Algorithms Javascript
🥞Data Structures and Algorithms explained and implemented in JavaScript + eBook
Stars: ✭ 6,251 (+59.18%)
Mutual labels:  algorithm, graph, data-structures, tree
Algodeck
An Open-Source Collection of 200+ Algorithmic Flash Cards to Help you Preparing your Algorithm & Data Structure Interview 💯
Stars: ✭ 4,441 (+13.09%)
Mutual labels:  algorithm, graph, data-structures, tree
Learningmasteringalgorithms C
Mastering Algorithms with C 《算法精解:C语言描述》源码及Xcode工程、Linux工程
Stars: ✭ 615 (-84.34%)
Mutual labels:  algorithm, graph, tree, sort
Data Structures
Common data structures and algorithms implemented in JavaScript
Stars: ✭ 139 (-96.46%)
Mutual labels:  algorithm, graph, data-structures, tree
Algorithms
Solved algorithms and data structures problems in many languages
Stars: ✭ 1,021 (-74%)
Mutual labels:  algorithm, graph, data-structures
Interview Guide
Coding/technical interview guide: data structures, algorithms, complexity analyses, interview questions
Stars: ✭ 54 (-98.62%)
Mutual labels:  algorithm, graph, data-structures
Javascript
A repository for All algorithms implemented in Javascript (for educational purposes only)
Stars: ✭ 16,117 (+310.42%)
Mutual labels:  algorithm, data-structures, sort
Go Algorithms
Algorithms and data structures for golang
Stars: ✭ 1,529 (-61.06%)
Mutual labels:  algorithm, data-structures, sort
Leetcode
LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。)
Stars: ✭ 45,650 (+1062.46%)
Mutual labels:  algorithm, data-structures, tree
Data Structure Php Clanguage
对于数据结构和算法类的东西,我工作有些年份了,大学也有所涉猎,积累了一些内容,不高产不母猪,打我自己脸
Stars: ✭ 299 (-92.39%)
Mutual labels:  algorithm, data-structures, sort
C Plus Plus
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
Stars: ✭ 17,151 (+336.75%)
Mutual labels:  algorithm, data-structures, sort
Graphview
Flutter GraphView is used to display data in graph structures. It can display Tree layout, Directed and Layered graph. Useful for Family Tree, Hierarchy View.
Stars: ✭ 152 (-96.13%)
Mutual labels:  algorithm, graph, tree
Algorithms Primer
A consolidated collection of resources for you to learn and understand algorithms and data structures easily.
Stars: ✭ 381 (-90.3%)
Mutual labels:  algorithm, data-structures, sort

Java : Algorithms and Data Structure alt tag

The algorithms and data structures are implemented in Java.

This is a collection of algorithms and data structures I've implemented in my academic and professional life. The code isn't optimized but is written to be correct and readable. The algorithms and data structures are tested and, unless noted, believed to be correct.

Created by Justin Wetherell

Support me with a donation

Donate to this project

What's been implemented:

Table of Contents

Data Structures

Mathematics

Numbers

  • Integers
    • to binary String
      • using divide and modulus
      • using right shift and modulus
      • using BigDecimal
      • using divide and double
    • is a power of 2
      • using a loop
      • using recursion
      • using logarithm
      • using bits
    • to English (e.g. 1 would return "one")
  • Longs
    • to binary String
      • using divide and modulus
      • using right shift and modulus
      • using BigDecimal
  • Complex
    • addition
    • subtraction
    • multiplication
    • absolute value
    • polar value

Graphs

Search

Sequences

Sorts

String Functions

String Functions

  • Reverse characters in a string
    • using additional storage (a String or StringBuilder)
    • using in-place swaps
    • using in-place XOR
  • Reverse words in a string
    • using char swaps and additional storage (a StringBuilder)
    • using StringTokenizer and additional (a String)
    • using split() method and additional storage (a StringBuilder and String[])
    • using in-place swaps
  • Is Palindrome
    • using additional storage (a StringBuilder)
    • using in-place symetric element compares
  • Subsets of characters in a String
  • Edit (Levenshtein) Distance of two Strings (Recursive, Iterative)

Manacher's algorithm (Find the longest Palindrome)

KMP (Knuth–Morris–Pratt) Algorithm - Length of maximal prefix-suffix for each prefix

String rotations

  • Find in lexicographically minimal string rotation
  • Find in lexicographically maximal string rotation
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].