Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Problem Solving with Algorithms and Data Struct...
Search
Bruce Tsai
February 02, 2015
Programming
0
66
Problem Solving with Algorithms and Data Structures
Slides for
http://interactivepython.org/runestone/static/pythonds/index.html
Bruce Tsai
February 02, 2015
Tweet
Share
More Decks by Bruce Tsai
See All by Bruce Tsai
Problem Solving with Algorithms and Data Structure - Graphs
wagamama
0
96
Normal Mapping
wagamama
0
71
Android Programming Introduction
wagamama
0
88
iOS GPUImage introduction
wagamama
0
120
OpenGL Introduction
wagamama
0
49
Problem Solving with Algorithms and Data Structure - Lists
wagamama
0
84
Other Decks in Programming
See All in Programming
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
CSC307 Lecture 04
javiergs
PRO
0
660
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
1.2k
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
670
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
ThorVG Viewer In VS Code
nors
0
770
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
36k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
77
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
49k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
92
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
690
Ethics towards AI in product and experience design
skipperchong
2
190
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
It's Worth the Effort
3n
188
29k
Transcript
Problem Solving with Algorithms and Data Structures Bruce Tsai
Computer Science • Algorithm • Step-by-step procedure for calculations •
Data structure • Way of organizing data
Problem-solving • Human • Time consuming • Computer • Efficiency
• Reuse • Communication tool • Program • Method and Data • Mathematical model • Input/Output
Sorting Example 50, 19, 1, 120, 6, 5, 999 1,
5, 6, 19, 50, 120, 999
Python Data Type • int • float • bool •
weak type • dynamic strongly type
Python Collection • List [] • ordered • duplicate elements
• mutable • compound data • Tuple () • ordered • duplicate elements • immutable • heterogeneous data
Python Collection • Set {}, set() • unordered • no
duplicate elements • mutable • heterogeneous data • Dictionary { key: value} • key-value pair • no duplicate keys • mutable • heterogeneous data
Python String • “” or ‘’ • ordered • duplicate
elements • immutable • homogeneous
Python Control Structure • while • execute code repeatedly based
on given condition • for • allow code to repeatedly executed • if, elif, else • perform different computations depending on condition
Exception • Syntax error • Logical error (runtime error) •
Exception • prevent program to terminate from runtime error
Function • Mathematical function • Black box • Input/Output
Reference • http://interactivepython.org/runestone/static/ pythonds/index.html • https://docs.python.org/2/tutorial/ • http://zeroturnaround.com/rebellabs/there-is-more- to-code-quality-than-just-pretty-vs-ugly/