100% de satisfacción garantizada Inmediatamente disponible después del pago Leer en línea o como PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

CSCI 340 – Final Exam Study Guide

Puntuación
-
Vendido
-
Páginas
40
Grado
A+
Subido en
06-09-2025
Escrito en
2025/2026

CSCI 340 final exam, covering algorithms, data structures, and STL concepts. Topics include hashing (load factor, collisions, probing, rehashing), tree structures (binary trees, AVL trees, Red-Black trees, BTrees, heaps), sorting algorithms (bubble, insertion, selection, merge, quick, heap) with their complexities, and complexity analysis (Big O, Big Theta, Big Omega, space and time complexity). It also reviews STL containers (vector, list, deque, map, set, stack, queue, priority_queue), iterators, and algorithm functions. Additional sections cover recursion, Git/GitHub commands, pointers, templates, and abstract data types (ADTs)

Mostrar más Leer menos
Institución
CSCI 340
Grado
CSCI 340

Vista previa del contenido

What is the load factor of a hashing table?


Give this one a try later!


The ratio of the number of elements in the hash table compared to the total
hash table size.

Note how the ideal case is a load factor of 1 (since 1 means a full table). A
load factor of more than 0.7 (ie. 70 percent) should signal for rehashing.

,What is the written order of a postorder traversal?


Give this one a try later!


-> left
-> right
-> node


Note! How in all of the orders left node always goes before right. The only
thing that changes is when we visit the parent.




What structure require the root to be the minimum value and requires that all levels
be filled completely.


Give this one a try later!


Heap




Does the implementation of a list need to be known in order to work with it?


Give this one a try later!


No.




What type of collision handling uses linked lists for elements that hash to the same
value?


Give this one a try later!

, Separate chaining

Note how this is problematic since time complexity depends on how much
data is being traversed in each list.




True/False


Keys in a BTree can be in no particular order.


Give this one a try later!


False

Keys in a Btree are sorted in ascending order for each node




Which of the following is(or are) the least efficient?


- insertion sort
- selection sort
- quick sort
- heap sort
- merge sort
- bubble sort


Give this one a try later!


- insertion sort
- selection sort
- quick sort
- bubble sort

, What is the written order of an inorder traversal?


Give this one a try later!


-> left
-> node
-> right




What is the best case time complexity of a hashing table?


Give this one a try later!


O( 1 )

This is constant time, therefore the most efficient.




How would you declare an empty set of doubles?


Give this one a try later!


set<double> myset;




True/False


All external nodes in a Red-Black tree do not necessarily have to be equal black
depth.


Give this one a try later!

Escuela, estudio y materia

Institución
CSCI 340
Grado
CSCI 340

Información del documento

Subido en
6 de septiembre de 2025
Número de páginas
40
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
BestKey chamberlain university
Ver perfil
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
263
Miembro desde
3 año
Número de seguidores
108
Documentos
7407
Última venta
1 día hace

This Page Provides Excellent Exam Solutions and Study Guides that Guarantee Top Grades

3.9

75 reseñas

5
38
4
12
3
11
2
7
1
7

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes