CSCI 3230 Data Structures and Algorithms
Georgia Southern University (Armstrong)
Instructor: Dr. Y. Daniel Liang
I pledge by honor that I will not discuss this exam with anyone until my
instructor reviews the exam in the class.
Signed by ___________________ Date ___________________
0. (3 pts)
Given f(n) = 5n3 + 8n2, answer the following questions:
1. Is f(n) O(n2)?
1. (3 pts)
Suppose you need to store a list of elements, if the number
of elements in the program is fixed, what data structure
should you use? (array, ArrayList, or LinkedList)
If you have to add or delete the elements at the beginning
2. (3 pts) Show the BST after inserting 35, 85 and 103.