Skip to content

skatra/tdd-stack

Repository files navigation

Stack Kata

Objectives

Using TDD implement a stack (dont' use the Java stack class) with the following methods:

    int size();
    void push(int i);
    int pop();
    int peek();
    boolean isEmpty();

Refactor the Stack and JUNit tests to make the Stack generic so that I can have a stack of strings, ints, etc.

Getting Started

  1. Clone the repo
  2. gradlew cleanIdea idea
  3. gradlew clean build
  4. Happy Coding!

What is a stack?

Check out this article that describes a stack: here

Contact Info

steve.katra@gmail.com www.stevekatra.com

About

TDD Implementation of a Stack

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages