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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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を使ったコードレビューで定性的に品質カバー
chiilog
1
260
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
560
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
dchart: charts from deck markup
ajstarks
3
990
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.1k
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
940
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
450
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
430
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
Featured
See All Featured
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
Being A Developer After 40
akosma
91
590k
Building an army of robots
kneath
306
46k
GitHub's CSS Performance
jonrohan
1032
470k
Are puppies a ranking factor?
jonoalderson
1
2.7k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
Un-Boring Meetings
codingconduct
0
200
Evolving SEO for Evolving Search Engines
ryanjones
0
120
BBQ
matthewcrist
89
10k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
330
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
The Cult of Friendly URLs
andyhume
79
6.8k
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/