Closed

Javascript, DOJO, simple data structure project

This project was awarded to chandlerbing for $80 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Project Budget
$30 - $250 USD
Total Bids
4
Project Description

Implement the Stack, Queue, PriorityQueue, Doubly Linked List data structure in any Java Script namespace library as per your convenience. Following data structure needs to be implement in JavaScript (using DOJO or any other equivalent in Java Script domain).

1. Stack
Implement Methods: push, pop, peek, empty, clear, search, size
Refer: for [url removed, login to view] javadoc for more detailed information

2. Queue
Implement Methods: Peek, Poll, odder, element , remove
Refer: [url removed, login to view] javadoc for more information

3. PriorityQueue
- Use same as Queue
- Create a constructor that take a comparator function which orders the elements appropriately as per the value in the queue.
Refer: [url removed, login to view] javadoc for more information

4. Doubly Linked List
Implement Methods: add(object), clear, getFirst(), getLast(), remove( value), removeLast(), removeFist(), offer, insertAfter(object)
Refer: [url removed, login to view] javadoc for more information

5. Map
- Maps (ordered Binary Tree)
Method: insert(element), inorder, preorder, postorder, remove(element), haselement(element), clear(), size()

6. Set
Methods: add, contains, remove, size, clear, intersect, union, difference
Refer: [url removed, login to view] javadoc for more information

Please do not use already implemented data structures, I require the implementation of above mentioned data structure. Once the implementation in done, please write at least two Unit Test case for each above six mentioned data structure.
Write JSunit Test case for each method
The JSUnit Test Case should have at least

1. One positive test case for each method.
2. One negative test case for each method.

If there are any queries or question, please feel free to contact me directly. A good java script worker can finish the above job in not more than one day approximately 6 hours.
Total time Duration = 6 Days (from the date of bid)
I will be selecting the minimum bidder so please do bit as per the average bids. This exercise is just a test since; we are looking for worker on big project that we can deliver. You can also integrate the HTML with JavaScript.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online