Git Product home page Git Product logo

data-structures-and-algorithms-java's Introduction

Data Structures

Implementation Notes

Code Challenges

Challenge 01

Challenge 1 README

Path:

  • challengesreadmes/challenge-1/README.md

Method: reverseArray

Work Time: 50 minutes

Challenge 02

Challenge 2 README

Path:

  • challengesreadmes/challenge-2/README.md

Method: insertMiddle

Work Time: 50 minutes

Challenge 03

Challenge 3 README

Path:

  • challengesreadmes/challenge-3/README.md

Method: binarySearch

Work Time: 2 hours

Challenge 04

Challenge 4 README

Path:

  • challengesreadmes/challenge-4/README.md

Method: sumArrArr

Work Time: 2 hours

Challenge 06

Challenge 6 README

Path:

  • lib/src/main/java/datastructures/linkedlist/LinkedList.java
  • lib/src/main/java/datastructures/linkedlist/Node.java

Test Path:

  • lib/src/test/java/datastructures/linkedlist/LinkedListTest.java

Method: insertAfter; insertBefore; append

Work Time: 2 hours

Challenge 07

Challenge 7 README

Path:

  • lib/src/main/java/datastructures/linkedlist/LinkedList.java
  • lib/src/main/java/datastructures/linkedlist/Node.java

Test Path:

  • lib/src/test/java/datastructures/linkedlist/LinkedListTest.java

Method: kthFromEnd

Work Time: 2 hours

Challenge 08

Challenge 8 README

Path:

  • lib/src/main/java/datastructures/linkedlist/LinkedList.java
  • lib/src/main/java/datastructures/linkedlist/Node.java

Test Path:

  • lib/src/test/java/datastructures/linkedlist/LinkedListTest.java

Method: zip

Work Time: 1.5 hours

Challenge 10

Challenge 10 README

Path:

  • lib/src/main/java/datastructures/queue/Node.java
  • lib/src/main/java/datastructures/queue/Queue.java
  • lib/src/main/java/datastructures/stack/Node.java
  • lib/src/main/java/datastructures/stack/Stack.java

Test Path:

  • lib/src/test/java/datastructures/queue/QueueTest.java
  • lib/src/test/java/datastructures/stack/StackTest.java

Method: pop; push; enqueue; dequeue ;peek; isEmpty

Work Time: 2.5 hours

Challenge 11

Challenge 11 README

Path:

  • lib/src/main/java/codechallenges/pseudoqueue/PseudoQueue.java

Test Path:

  • lib/src/test/java/codechallenges/pseudoqueue/PseudoQueueTest.java

Method: pseudoEnqueue; pseudoDequeue

Work Time: 2 hours

Challenge 12

Challenge 12 README

Path:

  • lib/src/main/java/codechallenges/animalshelter/AnimalShelter.java
  • lib/src/main/java/codechallenges/animalshelter/Cat.java
  • lib/src/main/java/codechallenges/animalshelter/Dog.java

Test Path:

  • lib/src/test/java/codechallenges/animalshelter/AnimalShelterTest.java
  • lib/src/test/java/codechallenges/animalshelter/CatTest.java
  • lib/src/test/java/codechallenges/animalshelter/DogTest.java

Method: enqueue; dequeue

Work Time: 2 hours

Challenge 13

Challenge 13 README

Method: validateBrackets

Path:

  • lib/src/main/java/codechallenges/validatebrackets/validatebrackets.java

TestPath:

  • lib/src/test/java/codechallenges/validatebrackets/validatebracketsTest.java

Work Time: 2 hours

Challenge 15

Challenge 15 README

Method: preOrderTraversal; inOrderTraversal; postOrderTraversal

Path:

  • lib/src/main/java/datastructures/tree/BinaryTree.java
  • lib/src/main/java/datastructures/tree/BinarySearchTree.java

Test Path:

  • lib/src/test/java/datastructures/tree/BinarySearchTreeTest.java
  • lib/src/test/java/datastructures/tree/BinaryTreeTest.java

Work Time: 3 hours

Challenge 16 README

Challenge 16

Method: getMaxValue

Path:

  • lib/src/main/java/datastructures/tree/BinaryTree.java
  • lib/src/main/java/datastructures/tree/MaxValue.java

Test Path:

  • lib/src/test/java/datastructures/tree/BinaryTreeTest.java

Work Time: 2 hours

Challenge 17

Path:

  • lib/src/main/java/codechallenges/treesbreadthfirst/treesbreadthfirst.java

Test Path:

  • lib/src/test/java/codechallenges/validatebrackets/validatebracketsTest.java

Challenge 17 README

Method: breadthFirst

Work Time: 1 hour

Challenge 18

Path:

  • lib/src/main/java/codechallenges/treefizzbuzz/TreeFizzBuzz.java

Test Path:

  • lib/src/test/java/codechallenges/treefizzbuzz/TreeFizzBuzzTest.java

Challenge 18 README

Method: treeFizzBuzz

Work Time: 1 hour

Challenge 19

Path:

  • challengesreadmes/challenge-19/README.md

Challenge 19 README

Method: SumOfATree

Work Time: 30 Minutes

Challenge 26

BLOG

Method: insertionSort

Path: lib/src/main/java/codechallenges/insertsort/InsertSort.java Test: lib/src/test/java/codechallenges/insertsort/InsertSortTest.java

Work Time: 1 Hour Blog + 1 Hour Code and Test

Challenge 27

BLOG

Method: mergeSort

Work Time: 1 Hour Blog

Challenge 28

BLOG

quickSort

Work Time: 1 Hour Blog

Challenge 30

Challenge 30 README

Method:set(); get(); contains(); keys(); hash()

Work Time: 1 Hour

Challenge 31

Challenge 31 README

Method:repeatedWords

Work Time: 1 Hour

Challenge 32

Challenge 32 README

Method:tree-intersection

Work Time: 1 Hour

data-structures-and-algorithms-java's People

Contributors

joshuamccluskey avatar

Watchers

 avatar

Forkers

abdulahimohamud

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.