Skip to content

Implementation of data structures and common algorithms - primarily in Java

Notifications You must be signed in to change notification settings

gaurav-ketkar/datastructures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practicing implementation of data structures and common algorithms - primarily in Java

This repo contains code in preparation of the course CS 6301.002 - Implementation of Algorithms and Data Structures taught by Prof. Balaji Raghavchari in the Spring 2016.

Contents

Short Project 0

Implement Merge Sort (say, from Cormen's book) in Java using generics.

  • Compare its running time on n > 1 million elements with another O(nlogn) algorithm, say for example, sorting using a priority queue:
    • Create a priority queue from an array list (which is a collection) containing the input elements using the constructor in the Java Library.
    • From official documents:
      • PriorityQueue(Collection<? extends E> c) Creates a PriorityQueue containing the elements in the specified collection.
    • Remove the elements from the Priority Queue until it gets empty.

About

Implementation of data structures and common algorithms - primarily in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages