Find Jobs
Hire Freelancers

Hire a node.js Developer

$10-30 USD

已完成
已发布超过 6 年前

$10-30 USD

货到付款
Part 1: Do some outside research on some of the internals specific to JavaScript. a)Describe what a prototype is in the context of JavaScript objects. How do they emulate inheritance? Provide a practical example. b) Investigate the new class syntax (tip: it was introduced in ECMAScript 6). What are the differences between classes and regular functions? c) Recreate the LinkedList function on [login to view URL] (will be provided) to use the class syntax. What changes were needed to make it work? d) Using the class from part c, implement a queue and stack with appropriate enqueue/dequeue and push/pop functionality. Make any adjustments necessary to the LinkedList class to make this happen. Generate some non-trivial mock data and appropriate printing to demonstrate functionality. Part 2: Implement a binary search tree in JavaScript. A node in the tree should have at least the following data: { key: “some string”, value: { an arbitrary value } // Any other properties to make a BST } Again, generate some non-trivial data and appropriate printing to demonstrate functionality. At a minimum it must support insertion, searching (provide examples), and in/pre/post-order traversal. For all three traversals, print out the sequence in which the nodes were traversed to demonstrate correctness. Part 3: Write out the algorithm for selection sort. a) Do a T(n) analysis on the worst case run time of the sort, (Hint: similar to insertion sort) b) For some g(n), prove that T(n) ∈
项目 ID: 15121368

关于此项目

2提案
远程项目
活跃7 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Knowledgeable JS developer looking for projects. Relevant Skills and Experience I've written production JS code for around 2 years. Proposed Milestones $20 USD - Completion Stay tuned, I'm still working on this proposal.
$20 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Richardson, United States
5.0
15
付款方式已验证
会员自10月 26, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。