JavaScript, HTML simple datastructure Java Script

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]

Kemahiran: Algoritma, HTML, Javascript

Lihat lagi: queue constructor data structure java, data structure java html, use case map, union data structure, union algorithm, tree structures in java, tree structure algorithm, tree maps java, tree insert, tree in data structures, tree in data structure and algorithm, tree in data structure, tree in datastructure, tree in algorithm, tree data structures in c, tree data structures, tree data structure in java, tree data structure in c, tree data structure c, tree datastructure

Tentang Majikan:
( 18 ulasan ) Elkridge, United States

ID Projek: #1274464

6 pekerja bebas membida secara purata $192 untuk pekerjaan ini


I'm good at javascript, sir. hope can work for you.

$200 USD dalam 10 hari
(3 Ulasan)

please check my pm

$300 USD dalam 30 hari
(0 Ulasan)

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 Lagi

$50 USD dalam 3 hari
(0 Ulasan)

simple job , like it. :)

$200 USD dalam 5 hari
(0 Ulasan)


$250 USD dalam 6 hari
(0 Ulasan)

Hi, I'm enough confident that I can make this. Let me try. -Sriram

$150 USD dalam 3 hari
(0 Ulasan)