100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Data Structures & Algorithms Lecture Summary

Rating
-
Sold
8
Pages
59
Uploaded on
19-10-2020
Written in
2020/2021

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.

Show more Read less
Institution
Module











Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Study
Module

Document information

Summarized whole book?
No
Which chapters are summarized?
What the lecturer covers
Uploaded on
October 19, 2020
Number of pages
59
Written in
2020/2021
Type
Summary

Subjects

Content preview

,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

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
marinamssantos Vrije Universiteit Amsterdam
Follow You need to be logged in order to follow users or courses
Sold
38
Member since
5 year
Number of followers
33
Documents
12
Last sold
1 year ago

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions