Giter Club home page Giter Club logo

stacks's People

Contributors

shramko82 avatar

Watchers

James Cloos avatar  avatar

stacks's Issues

Iteration

I want your data structures to implement iterable interface and also throw some exceptions if invariants are violated (i.e. you try to pop from empty stack).

stack error

в твоей реализации стека есть одна серьезная проблема. попробуй найти ее и пофиксить.
чтобы найти ее, возьми tolstoy.txt, возьми свой клиент, и посмотри как приложение расходует память. для этого используй visualvm http://visualvm.java.net/gettingstarted.html

encoding issue

всегда используй кодировку UTF-8 для файлов ! всегда.

redundant code

    final Node<K> f = first;
    return unlinkFirst(f);

why not just

    return unlinkFirst(first);

Memory issue

Your stack leaks memory and will cause OutOfMemory exception over time.

Stack/Deque client

Please create a client for stack (= a program) that reads a BIG file (I mean like 1 Mb text file) and adds and removes words from this file to stack/deque at random (i.e. read - add - read - add - delete - add - etc. at random)

Memory leak

Your stack leaks memory and will cause OutOfMemory exception over time.

Collection construction

I just want to write
new Stack < MyObject > () and that's all. No other parameters. No class parameter.

Please implement that.

class files commited

ты по ошибке запушил класс файлы, убери их и добавь в .gitignore пожалуйста

Fixed size

Your stack uses fixed size, it's not a real world scenario; please use resizing stack based on array.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.