Simple JavaScript data structure JSAN, java script, JSunit

JavaScript implement Simple data structure , JSAN and JSunit Test

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

Implement following basic data structures as library in javascript.

The data structure implement should be compliant format to JSAN ([url removed, login to view])

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

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]

Skills: AJAX, Algorithm, HTML, Javascript

See more: jsan java, queue java data structure, javascript data structure, use case map, union data structure, tree structures in java, tree structure in c, 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 c, tree binary search, test a javascript, structures data, stack in data structures, stack in data structure, stack data structures, stack data structure java, stack data structure, stack and queue in data structure

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

Project ID: #1274335

4 freelancers are bidding on average $133 for this job


Hello. I'm a software engineer. I am a Senior Developer and Software Architect. Please see my private message for justification of my bid. Thanks in advance and good luck with your project. Best Regards! Esteb More

$150 USD in 3 days
(2 Reviews)

I am having an experience of 10yrs in a product based company in the field of web application development with expertise in HTML, Javascript, AJAX, CSS, XML, SQL, Java, Web services and cross browser coding. Althou More

$80 USD in 5 days
(0 Reviews)

Hi, I am a computer science engineering student. I have just studied and been tested on all the required data structures (and some others). I think I would perfectly suit this job and the long term project that you hav More

$50 USD in 3 days
(0 Reviews)

The project sims like great fun, love to do it. Has Msc. in Mathematics Ba in computer sience and 15 years of expirience.

$250 USD in 21 days
(0 Reviews)