Data-Structures-In-Java
Data-Structures-In-Java copied to clipboard
Data Structures implemented in Java
Handled an index out of bounds case when removing a valid element from a non empty customArrayList. Refer to the issue https://github.com/deepak-malik/Data-Structures-In-Java/issues/2. Added a boundary check when removing the elements.
  Steps to replicate : 1) Set initial size of array to 1; 2) add a few elements 3) try deleting an element...
`package com.deepak.data.structures.LinkedList; public class theGame { public static void main(String[] args) { CircularLinkedList g = new CircularLinkedList(); int [] t = {15, 14, -12, 7, -7, 20, 13, 1, -15,...
Rohit :)
Adding some documentation in Queue and Stack codes