<< Prev Showing: 266-270 of 353 Next >>
· 241-245 · 246-250 · 251-255 · 256-260 · 261-265 · 266-270 · 271-275 · 276-280 · 281-285 · 286-290 · 291-295 ·Algorithms - Design and Analysis Fundamentals
a. Design a recursive algorithm whose input is a decimal integer and whose output is the binary representation of the input. b. Design a recursive algorithm that computes the reverse of the result in (a) - that is, converts a binary integer to its decimal equivalent.
Subject:
Computer Science
Topic:
Data Structures and Algorithms
Posting ID:
137517
OTA ID:
103987
Algorithms - Design and Analysis Fundamentals - Recursion - Fibonacci sequence
Prove by induction that fib(1) + fib(2) + ... + fib(n) = fib(n + 2) - 1.
Subject:
Computer Science
Topic:
Data Structures and Algorithms
Posting ID:
137521
OTA ID:
103987
Algorithms - Analyzing Algorithm Performance
Design an algorithm that tests whether or not two input lists of size n have at least one element in common. Give formulas for B(n) and W(n) for your algorithm.
Subject:
Computer Science
Topic:
Data Structures and Algorithms
Posting ID:
137560
OTA ID:
103987
Algorithms - Data Structures and Algorithm Design
Given a linked list, create a linked list with the same elements but in the reverse direction.
Subject:
Computer Science
Topic:
Data Structures and Algorithms
Posting ID:
137561
OTA ID:
105746
Analyzing Some Basic Comparison - Based Algorithms
Given a list L[0:n – 1], one way of maintaining a sorted order of L is to use an auxiliary array Link[0:n – 1]. The array Link[0:n – 1] serves as a linked list determining the next highest element in L, so the elements of L can be given in nondecreasing order by L[Start], L[Link[Start]], L[Link[Link[Start]]], and so forth. Then Linkn-1[Start] is the index of the largest element in L, and we set Link[Linkn-1[Start]] = Linkn[Start] = 0 to signal the end of the linked list. Design a version of MergeSort that uses the auxiliary array Link. See attached file for full problem description.
Subject:
Computer Science
Topic:
Data Structures and Algorithms
Posting ID:
137563
OTA ID:
101298
<< Prev Showing: 266-270 of 353 Next >>
· 1-5 · 6-10 · 11-15 · 16-20 · 21-25 · 26-30 · 31-35 · 36-40 · 41-45 · 46-50 · 51-55 · 56-60 · 61-65 · 66-70 · 71-75 · 76-80 · 81-85 · 86-90 · 91-95 · 96-100 · 101-105 · 106-110 · 111-115 · 116-120 · 121-125 · 126-130 · 131-135 · 136-140 · 141-145 · 146-150 · 151-155 · 156-160 · 161-165 · 166-170 · 171-175 · 176-180 · 181-185 · 186-190 · 191-195 · 196-200 · 201-205 · 206-210 · 211-215 · 216-220 · 221-225 · 226-230 · 231-235 · 236-240 · 241-245 · 246-250 · 251-255 · 256-260 · 261-265 · 266-270 · 271-275 · 276-280 · 281-285 · 286-290 · 291-295 · 296-300 · 301-305 · 306-310 · 311-315 · 316-320 · 321-325 · 326-330 · 331-335 · 336-340 · 341-345 · 346-350 · 351-353 ·Page generated in 0.0964 seconds