• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 16 páginas
Examen

WGU C949 Data Structures And Algorithms with Complete Solutions

Document preview thumbnail
Vista previa 3 fuera de 16 páginas

WGU C949 Data Structures And Algorithms with Complete SolutionsWGU C949 Data Structures And Algorithms with Complete SolutionsWGU C949 Data Structures And Algorithms with Complete SolutionsWGU C949 Data Structures And Algorithms with Complete Solutions Record - ANSWER-Data structure that stores subitems, w/ names associated w/ each subitem Array - ANSWER-Data structure that stores an ordered list of items, w/ each item directly accessible by a positional index. Linked List - ANSWER-Data structure that stores an ordered list as nodes, each node stores data and has a pointer to the next node.

Vista previa del contenido

WGU C949 Data Structures And

Algorithms with Complete

Solutions


Record - ANSWER-Data structure that stores subitems, w/ names associated

w/ each subitem




Array - ANSWER-Data structure that stores an ordered list of items, w/ each

item directly accessible by a positional index.




Linked List - ANSWER-Data structure that stores an ordered list as nodes,

each node stores data and has a pointer to the next node.




Binary Tree - ANSWER-Data structure where each node stores data and has

up to two children, left child and right child.




Hash Table - ANSWER-Data structure that stores unordered items by

mapping each item to a location in an array.

,Max Heap - ANSWER-Tree that maintains the simple property that a node's

key is greater than or equal to a node's children key.




Min Heap - ANSWER-A tree that maintains simple property that node's key is

less than or equal to the node's children key.




Graph - ANSWER-Represents connections among items. Consists of vertices

and edges. Vertex represents an item on a graph. Edges represent a

connection between two vertices.




ADT (Abstract Data Type) - ANSWER-Data type described by predefined user

operations. Does not say anything about the implementation.




List - ANSWER-Common ADT for holding ordered data.Like an array. Can

store ints, strings.

Ex. nums = [5, 25, 30]




Queue - ANSWER-ADT where items are inserted at the end and removed at

the front.

, First in first out ADT.

push - inserts items at the end

pop - removes and returns the item at the front




Dictionary - ANSWER-Maps keys to values. Uses {}. The value can be

number,string, or tuple. Can be any type.

ex. players = {

'Lionel Messi': 10,

'Christiano Ronaldo': 7

}




Function (invoking a function is called a function call, which causes a

function to execute. ) - ANSWER-Named series of statements.




e.g.:

def compute_square(num_square):

return num_square * num_square




Polymorphism - ANSWER-Behavior of function depends on argument type.

Información del documento

Subido en
9 de octubre de 2024
Número de páginas
16
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$14.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

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.
NursingTutor1
3.9
(460)
Vendido
1710
Seguidores
1073
Artículos
18676
Última venta
6 días hace




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