GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Sathvik-Rao/Data_Structures_and_Algorithms_in_Java: Data structures (Dynamic Array, Stack Array, etc.) and algorithms (sorting, searching, etc.) optimized for primitive types (int, float) to ensure fast performance, complete with thorough documentation.

BranchesTags
Open more actions menu

Latest commit

 

History

144 Commits
144 Commits

Folders and files

NameName
Last commit message
Last commit date
documentation
documentation
 
 
dsa
dsa
 
 
Example.class
Example.class
 
 
Example.java
Example.java
 
 
README.md
README.md
 
 

Repository files navigation

Data Structures and Algorithms in Java

This repository contains implementations of various data structures and algorithms in Java, focusing on using primitive types for efficiency.

Overview

The project aims to provide efficient implementations of fundamental data structures and algorithms using primitive types in Java. By utilizing primitive types, we aim to maximize performance and minimize memory overhead.

DynamicArray da = new DynamicArray("byte"); // primitive type  
da.add((byte)4);
...

StackArray sa = new StackArray("char");  // primitive type  
sa.push('a');
...

QuickSort.sort(arr,'a');  // primitive type  
...

Screenshot 2024-04-11 220948

package structure
dsa
├───algorithms
│   ├───problems
|   |   └───MaximumSubArraySum.java         (primitive types)
│   ├───sort
|   |   ├───BubbleSort.java                 (primitive types + Object type)
|   |   ├───BucketSort.java                 (float + Float + double + Double)
|   |   ├───CountingSort.java               (char + byte + short + int)
|   |   ├───HeapSort.java                   (primitive types + Object type)
|   |   ├───InsertionSort.java              (primitive types + Object type)
|   |   ├───MergeSort.java                  (primitive types + Object type)
|   |   ├───MergeSort_Multithreading.java   (primitive types + Object type)
|   |   ├───QuickSort.java                  (primitive types + Object type)
|   |   ├───RadixSort.java                  (char + byte + short + int + long)
|   |   ├───RandomizedQuickSort.java        (primitive types + Object type)
|   |   └───SelectionSort.java              (primitive types + Object type)
|   └───search
|       └───LinearSearch.java               (primitive types + Object type)
└───datastructures
    ├───heap
    |   └───Heap.java                       (Object type)
    ├───linkedlist
    |   └───Linked_List.java                (primitive types)
    ├───list
    |   └───DynamicArray.java               (primitive types)
    ├───queue
    |   ├───QueueArray.java                 (primitive types)
    |   └───QueueLinkedList.java            (primitive types)
    └───stack
        ├───StackArray.java                 (primitive types)
        └───StackLinkedList.java            (primitive types)

Documentation/Help -> documentation\index.html

Example program -> Example.java


MaximumSubArraySum

MaximumSubArraySum


BubbleSort

Bubble_Sort


BucketSort

Bucket_Sort


CountingSort

Counting_Sort


HeapSort

Heap_Sort


InsertionSort

Insertion_Sort


MergeSort

Merge_Sort


RadixSort

Radix_Sort


RandomizedQuickSort

Randomized_Quick_Sort


SelectionSort

Selection_Sort

About

Data structures (Dynamic Array, Stack Array, etc.) and algorithms (sorting, searching, etc.) optimized for primitive types (int, float) to ensure fast performance, complete with thorough documentation.

Topics

algorithmsdata-structuresjava

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.