dmitrykrivaltsevich / AlgorithmUtil

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AlgorithmUtil

Just added the coding problems, just keeping it as collection so that i can find them quickly.

Algorithms playground for common questions solved in Java syntax.

This repository contains my solution for some common algorithms. I've created this repository to learn about algorithms and improve solving different common computer science problems. I'll try to add more solutions if I have time :)

Each solved problem has a program written in Java. Every solution is tested and some problems contains more than one solution with different implementations.

You can check the solution executing tests inside tests directory. Some of this problems have been resolved using TDD.

Problems

Arrays

Commons

Graph

  • Dijkstra algorithm
  • [Directed graph depth first and breadth-first by adjacency table] (src%2Fmain%2Fjava%2Fcn%2Fcodepub%2Falgorithms%2Fgraph%2FDirectedGraphByAdjacencyList.java)
  • [Directed graph depth first and breadth-first by adjacency matrix] (src%2Fmain%2Fjava%2Fcn%2Fcodepub%2Falgorithms%2Fgraph%2FDirectedGraphByAdjacencyMatrix.java)
  • Floyd warshall
  • Kruskal
  • Prim
  • [Undirected graph depth first and breadth-first by adjacency table] (src%2Fmain%2Fjava%2Fcn%2Fcodepub%2Falgorithms%2Fgraph%2FUndirectedGraphByAdjacencyList.java)
  • [Undirected graph depth first and breadth-first by adjacency matrix] (src%2Fmain%2Fjava%2Fcn%2Fcodepub%2Falgorithms%2Fgraph%2FUndirectedGraphByAdjacencyMatrix.java)

Matrix

Multithread

Queue

Similarity

Sorting Algorithms

Chinese to Spelling

Stack

Strings

Trees

Design Patterns

#Problem List:

cc150

lc (java) (python)

Author

Credition

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Took help from :

Also, I have to improve from:

Codility

https://github.com/Jarcionek/Codility/tree/master/src/main/java/uk/co/jpawlak https://github.com/charles-wangkai/codility https://github.com/jlhuang/codility-lessons/tree/master/lesson%201%20:%20Time%20Complexity/PermMissingElem https://github.com/Jarcionek/Codility/tree/master/src/main/java/uk/co/jpawlak https://github.com/andersonkmi/hackerrank-stuff/blob/83ca9e8029b168be0c85db4fab813a6234abb10f/Hackerrank/src/main/java/org/coolstuff/codility/Battleship.java https://github.com/tpeczek/Codility https://github.com/lostrepository/lainexperiment/tree/03bb546aa2340be66ac766a05f96faaf6ea40b3a https://github.com/maliilyas/JavaTasks/tree/b74d28bdc324e721cc8e58ff24cad6826ff147f0 https://github.com/andersonkmi/hackerrank-stuff/tree/83ca9e8029b168be0c85db4fab813a6234abb10f

About


Languages

Language:Java 97.8%Language:Go 1.9%Language:JavaScript 0.3%