Skip to content

Instantly share code, notes, and snippets.

@anoited007
anoited007 / ArrStack.java
Last active February 4, 2019 16:58
Implementation of Stack Using both arrays and singly LinkedList
package Stackpkg;
public class ArrStack<T> implements IStack<T> {
//the length property specifies the length of the array
private int length;
//the size property gives the number of elements in the stack
private int size ;
private T[] data;
private boolean empty;
@anoited007
anoited007 / DblLinkedList.java
Last active February 9, 2019 14:23
The abstraction and implementation of both singly and doubly LinkedList
package LinkedListPkg;
public class DblLinkedList<T> implements IDblLinkedList<T> {
private DblNode<T> head, next, prev, tail;
private int size;
public DblLinkedList(){
head = null;
next = null;
prev = null;
@anoited007
anoited007 / Bag.java
Last active January 25, 2019 06:56
A bagable interface to provide functionality for implementing a bag of M and M.
import java.util.Random;
public class Bag<MAndM> implements Bagable<MAndM> {
private boolean empty;
private boolean full;
private boolean isOpen;
private boolean isClosed;
private MAndM[] items;
private int counter;
public interface Bagable<T> {
//Open the bag
void open();
//Add item to the bag
void add(T t);
//Remove item from the bag
T remove(T t);
@anoited007
anoited007 / README.md
Created October 31, 2017 07:53 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed