Consider a set of positive integers X = {₁,...,n} where each z; is represented in base 2³ that is, over the alphabet {0.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Consider a set of positive integers X = {₁,...,n} where each z; is represented in base 2³ that is, over the alphabet {0.

Post by answerhappygod »

Consider A Set Of Positive Integers X N Where Each Z Is Represented In Base 2 That Is Over The Alphabet 0 1
Consider A Set Of Positive Integers X N Where Each Z Is Represented In Base 2 That Is Over The Alphabet 0 1 (52.26 KiB) Viewed 13 times
Consider a set of positive integers X = {₁,...,n} where each z; is represented in base 2³ that is, over the alphabet {0..2 - 1} - and x; ≤ ne for some constant c. We assume for simplicity that s divides clog n. Suppose we store all ; strings in a compressed trie T in the following way. For each node v € T, we maintain an array A, of size 2. In this array, A, [] contains a pointer to the child v, of v such that the edge of T connecting v and u, is labelled with the symbol j. If no such v, exists, then A, [j] = 0. (a) What is the upper bound on the maximum height of T in terms of s, n, and c? (b) What is the upper bound on the maximum space usage of all arrays A,? Consequently, what is the upper bound on the maximum space usage of T? (c) What time is needed to search for a key k in T?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply