JavaScript Simple, Basic, 5 hours work to create methods

JavaScript that can show working on Stack, Queue, PriorityQueue, Doubly Linked List.. etc

Simple data structure like stack, queue etc.. and its methods in JavaScript

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

Implement the basic data structures as library in javascript (is possible) or implementation will also be accepted. Implement Simple data structure , JSAN and JSunit Test. The data structure implement should be compliant format to JSAN ([url removed, login to view]) if they are not compliant that will also work, the JSAN complaint format is not hard core requirement can be negotiated, but if you can do it that will be great.

If you are not able to do the unit test case mentioned below that will be also negotiable.

Once the above is implementing, just 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. I am flexible with time period. This exercise is just a test since; we are looking for worker on big project that we can [url removed, login to view] can also integrate the HTML with Javascript.

For reference [url removed, login to view]

[url removed, login to view]

Time to complete the project is 6 days

Skills: AJAX, HTML, Java, Javascript

See more: work reference, use case map, union data structure, tree structures in java, tree maps java, tree insert, tree in data structures, tree in data structure, tree data structures in c, tree data structures, tree data structure in java, tree data structure in c, tree data structure implementation in c, tree data structure c, tree binary search, test a javascript, stack in data structures, stack in data structure, stack data structures, stack data structure java

About the Employer:
( 18 reviews ) Elkridge, United States

Project ID: #1277091

11 freelancers are bidding on average $174 for this job


Hi,Please check your inbox,Thanks

$100 USD in 2 days
(250 Reviews)

I m ready for this

$100 USD in 4 days
(68 Reviews)

Please check PMB.

$125 USD in 2 days
(36 Reviews)

I have experience with Jquery, Javascript. I can do this quickly.

$300 USD in 3 days
(32 Reviews)

I am a skilled Javascript coder, and am confident I can complete this specification to your satisfaction. Please ask any questions desired I guarantee my work 100%.

$100 USD in 1 day
(7 Reviews)

Halo sir, Lets do it. I can do this task. regards SouvikB

$250 USD in 10 days
(1 Review)

Dear Sir, as a sample of what I can do for you in the domain of OO JavaScript, I have attached a .js file implementing Stack and Queue as you required. I discovered your project only 3 hours ago, so this is just a sam More

$90 USD in 1 day
(1 Review)


$250 USD in 5 days
(0 Reviews)

Please check PMB

$150 USD in 1 day
(0 Reviews)

Hi, If you choose me, you'll get top quality OO javascript.

$300 USD in 3 days
(0 Reviews)

I will be happy to take this opportunity.

$150 USD in 7 days
(0 Reviews)