Giter VIP home page Giter VIP logo

algorithms's People

Contributors

carmocca avatar conradomateu avatar josegarm avatar josellorensripolles avatar kevinzs avatar tonilopezmr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

algorithms's Issues

Improve NumberOfMarksCost class

Make it so it uses random marks to be beaten and arrays, which have to be the same for each implementation and make it so it averages the time of X iterations.

Model Stack LIFO

boolean empty(): Tests if this stack is empty.
E peek() : Looks at the object at the top of this stack without removing it from the stack.
E pop() : Removes the object at the top of this stack and returns that object as the value of this function.
E push(E item): Pushes an item onto the top of this stack.
int search(Object o): Returns the 1-based position where an object is on this stack.

Add Graphs

Add Graph abstract class, Adjacent class and DirectedGraph(implementation).

Model priority Qeue FIFO

Implement comparable

comparator(): Returns the comparator used to order the elements in this queue, or null if this queue is sorted according to the natural ordering of its elements.

Add ExamMarks problem

Return number of marks greater than a mark in marks array.

int numberOfMarks(int[] marks, mark)

Its the same problem than we have done in EDA exam.

You can contribute and add your solution!!!!

How to add your solution:

1. In package problems/problem2 create a *YOURNAME*Imp java class.
2. Implement ExamMarks in your class and fill it.
3. Add your implementation in ExamsMarksFactory in Arrays.asList next to the last implementation

Add Gradle to project

Add gradle to project to continuous integration with Travis CI, that check all tests.

Add main data structure

Add most basic data structures.

-List
-Map
-Queue
-Stack

With implementatios in both, arrays and linked list.

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.