SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 313 Weeks Ago, 6 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 06 Jan 2018 My Price 10.00

homework assignments are to be completed individually

Can you please help me with Data structures assignment questions?

CS 610 – 104 Homework 4 Spring 2017 Note: All homework assignments are to be completed individually. No group work is allowed. This homework is due at the beginning of class on the assigned due date. To receive any credit for your submission you must show all work. 1.) (5 pts) Using the abstract operations defined for the List ADT, write an algorithm to count the number of elements that fall between a range of [low, high] inclusive in an unsorted List ADT S. 2.) (5pts) Using the abstract operations defined for the Tree ADT, write an abstract level pseudocode algorithm CountExternal(T, v) to count the number of external nodes in a Tree T. 3.) (5 pts) Assume that a Tree ADT stores numerical values. Write an algorithm TreeMax(T, v, max) that returns the largest value in a Tree ADT T. 4.) (5 pts) Using the abstract operations defined for the Tree ADT, write an algorithm isTernaryTree(T, v), which returns a Boolean value indicating if the Tree ADT T is a proper ternary tree. A proper ternary tree is a tree where each node has three children or no children. 5.) (5 pts) Using the abstract operations defined for the Binary Tree ADT, write an algorithm cousins(T, v) that returns the cousins (i.e., nodes with the same grandparent) of a given node v in a proper binary tree ADT T, if they exist. The cousins can be returned as an array. 6.) (10 pts) Using the abstract operations defined for the Binary Tree ADT, write an algorithm to determines if two Binary Trees, T1 and T2, are equal. A binary tree is considered equal if the structure is the same and the values stored at the same location in the trees are the same. For (2)-(6) analyze the order if the running time if the Tree/Binary Tree is implemented using a linkednode data structure where each node has a direct link to its children and (i) has a link to its parent and (ii) does not have a link to its parent.

Attachments:

Answers

(5)
Status NEW Posted 06 Jan 2018 11:01 AM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)