Skip to content

Instantly share code, notes, and snippets.

View pedrofurtado's full-sized avatar
🤓
👍

Pedro Furtado pedrofurtado

🤓
👍
View GitHub Profile
@pedrofurtado
pedrofurtado / QueueCircularVector.java
Created January 3, 2016 16:17
Implementation of Queue (in circular vector) data structure in Java
/**
* @file
* Queue.
*
* Implementation with circular vector.
* It's used nested class to improve encapsulation.
*
* @author Pedro Furtado
*/
@pedrofurtado
pedrofurtado / Queue.java
Created January 3, 2016 16:16
Implementation of Queue data structure in Java
/**
* @file
* Queue.
*
* Implementation with singly linked list, through the nested class QueueNode.
* It's used nested class to improve encapsulation.
*
* @author Pedro Furtado
*/
@pedrofurtado
pedrofurtado / Deque.java
Created January 3, 2016 16:15
Implementation of Deque data structure in Java
/**
* @file
* Deque (Double ended queue).
*
* Implementation with doubly linked list, through the nested class DequeNode.
* It's used nested class to improve encapsulation.
*
* @author Pedro Furtado
*/