• ¿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 4 fuera de 59 páginas
Resumen

Data Structures & Algorithms Lecture Summary

Document preview thumbnail
Vista previa 4 fuera de 59 páginas

This is a in-depth lecture summary for the course Data Structures & Algorithms in the Artificial Intelligence Bachelor from Vrije Universiteit Amsterdam. This will help you as the exam is largely based on the lectures and the lecture slides, which this covers thoroughly.

Vista previa del contenido

,LECTURE 1 :
Introduction


Random Access Machine ( RAM)



In the RAM model of computation ,
it is assumed that the CPU

has and that primitive take constant
some
memory operations a


amount of time .




Data structure : a structure to store and
organize data in the


memory in order to facilitate access and modifications


Algorithm : an
unambiguous way for doing a task , which takes

input and output ( finishes the task)
an produces an .




A
primary goal of designing data structures is to speed up

algorithms If the data is not well
organized in the
.



memory ,




it will take to
longer for the
algorithm be completed .

,Arrays and Linked Lists



Array :
represents a contagious portion of the
memory
:
all

elements in stored next in the
an
array are to each other


memory




Advantages :
very quick to
get an access to an element of
an
array , by knowing the index of the element .




insert I delete
Disadvantages : Hard to items into the
array , as

need place to all the elements to make
you a move


place or to move them back .




linked lists
Singly
-




Elements are stored in
arbitrary places in the
memory
and point
they to each other

A node in a list contains :

I , a data element V - data

2. a pointer v. next to the next node of the list

in the last node of the list ,
the
pointer is None or


nveeptr


Insert nodes

, Removing nodes




Doubly linked lists
A contains :
node v in a
doubly linked list
-




I .
a data element v. data

2. a pointer v. next to the next node in the list

3. a pointer v .
prev to the previous node in the list




Inserting a node

Libro relacionado
 image
Ronald L Rivest, Charles E Leiserson Introduction to Algorithms
Editorial: Desconocido ISBN: 9780262033848 Edición: 1

Información del documento

Estudio
¿Un libro?
No
¿Qué capítulos están resumidos?
What the lecturer covers
Subido en
19 de octubre de 2020
Número de páginas
59
Escrito en
2020/2021
Tipo
Resumen
$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.
marinamssantos
5.0
(1)
Vendido
38
Seguidores
33
Artículos
12
Última venta
2 año 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