Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Define an ordered rooted tree. Cite any two applications of the tree structure, also illustrate using an example each the purpose of the usage.
Ans: A tree is a graph like that it is connected, it has no loop or circuit of any length and number of edges in it is one less as compared to the number of vertices.
If the downward slop of an arc is taken as the direction of the arc after that the above graph can be considered as a directed graph. In degree of node + is zero and of all other nodes is one. There are nodes such as 3, 4, 5, 2 and 5 without degree zero and all other nodes comprise out degree > 0. A node with in degree zero in a tree is known as root of the tree. Each tree has one and just only one root and that is why a directed tree is as well known as a rooted tree. The position of each labeled node is fixed, any change in the position of node will modify the meaning of the expression denoted by the tree. Such kind of tree is called ordered tree.
A tree structure is utilized in evaluation of an arithmetic expression (parsing technique) The other common application is search tree. The tree presented is an instance of expression tree. An instance of binary search tree is shown below.
shit
If two vertices of an equilateral triangle are (0, 0) and (3, 0), find the third vertex. [Ans: 3/2 , 3/√ 3/2 or 3/2, -3√ 3/2] Ans: OA = OB = AB OA 2 = OB 2 = AB 2
find regular grammar for the following regular expression: a(a+b)*(ab* +ba*)b
Monotonic, Upper bound and lower bound Given any sequence {a n } we have the following terminology: 1. We call or denote the sequence increasing if a n n+1 for every n.
Q. What is the probability of tossing a head? List the sample space for tossing a coin once. What is the probability of tossing a head? Solution: If you tossed a coin once
Show that the radius of the circle,passing through the centre of the inscribed circle of a triangle and any two of the centres of the escribed circles,is equal to the diameter of t
(x+4)(x+6)>0
y'-5y=0
Certain model of new home distributed with a mean of $150,000. Find percentage of buyers who paid between $150,000-155,000 if standard deviation is $1800.
If tanx+secx=sqr rt 3, 0 Ans) sec 2 x=(√3-tanx) 2 1+tan 2 x=3+tan 2 x-2√3tanx 2√3tanx=2 tanx=1/√3 x=30degree
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd