Logistics  >  EXAM  >  Class notes Data Structures and Algorithms (CS 124) (All)

Class notes Data Structures and Algorithms (CS 124)

Document Content and Description Below

CSCI203 Week 1 Math Revision: Exponents : x a * xb = xa + b | xa / xb = xa - b | (xa ) b = xa * b | xn + xn = 2xn | 2n + 2n = 2n+1 Logarithms: logab = logcb / logca (a,b,c, > 0: a != 1) | l ... ogkab = logka + logkb (a,b > 0) Limits: When a function f(n) tends to a limit as n approaches infinity Series: - Arithmetic Series (a, a+d, a+2d,…) -> Sn = an + n(n-1)d/2 - Geometric Series (a, ar, ar2 ,ar3…) -> sn = a(1-r n )/(1-r) o Convergent when (-1 < r < 1) Probablility: Pr[A] | pr[~A] | pr[A|B] Algorithm: An algorithm is a set of rules for carrying out some calculation or procedure. They should: be correct, terminate and be efficient We study algorithms to be able to: - Understand how they work - Know when to use them - Adapt them for different problems - Create new algorithms that are better than the existing ones o Better how?  Faster  Less overhead space  More general Data Structures Data structures are an organised collection of data. They represent an abstract data type in an (hopefully) efficient way. o Efficient how?  Allows for efficient access by the algorithm  Uses a minimum of storage Algorithmics Algorithmics is the study of the properties of algorithms such as: - Correctness o Difficult to prove that an algorithm is correct o Easy to prove an algorithm is incorrect o Can be shown formally or informally - Efficiency o Usually a measure of speed (or comparisons) o Sometimes it is measured in storage space required o Rarely it is a measure of some other property - Applicablilty o What domain the algorithm lies in o What sub domain the algorithm is efficient in [Show More]

Last updated: 3 years ago

Preview 1 out of 33 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of Class notes Data Structures and Algorithms (CS 124) document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Reviews( 0 )

$8.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

114
0

Document information


Connected school, study & course


About the document


Uploaded On

Jun 21, 2021

Number of pages

33

Written in

All

Seller


Profile illustration for GradeProfessor
GradeProfessor

Member since 4 years

55 Documents Sold

Reviews Received
3
2
0
1
0
Additional information

This document has been written for:

Uploaded

Jun 21, 2021

Downloads

 0

Views

 114

Document Keyword Tags

More From GradeProfessor

View all GradeProfessor's documents »

Recommended For You

Get more on EXAM »

$8.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·