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
THE FIRST CODE ~バブルソート~
Search
Satoru Takeuchi
PRO
August 13, 2022
0
81
THE FIRST CODE ~バブルソート~
以下動画のテキストです
https://youtu.be/TnsMmvRs31A
Satoru Takeuchi
PRO
August 13, 2022
Tweet
Share
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
小学校5,6年生向けキャリア教育 大人になるまでの道
sat
PRO
8
3.4k
ファイルシステムの不整合
sat
PRO
2
130
書籍執筆での生成AIの活用
sat
PRO
2
440
ChatGPTに従って体調管理2026
sat
PRO
0
170
eBPF
sat
PRO
1
140
waruiBPF
sat
PRO
0
120
eBPFとwaruiBPF
sat
PRO
5
4.3k
Pythonのコードの気になる行でスタックトレースを出す
sat
PRO
1
110
ソースコードを読むときの思考プロセスの例 ~markdownのレンダリング方法を知りたかった2 markdownパッケージ~
sat
PRO
0
220
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
500
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
140
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
150
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
600
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
230
How STYLIGHT went responsive
nonsquared
100
6k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Transcript
The First Code ~バブルソート~ Aug. 13rd, 2022 Satoru Takeuchi twitter:
satoru_takeuchi
The First Code • お題に沿ってプログラムを実装 • 1回動かしたら終わり
お題 • n個の正の整数の配列aが与えられる ◦ n>=1 • a[0]<=a[1]<=...a[n-1]になるように並びかえる • バブルソートを使う ◦
アルゴリズムの詳細は Web検索とかしてね! • 以下の入力を正しくソートできたら勝ち ◦ [1]=>[1] ◦ [2,1]=>[1,2] ◦ [5,4,2,3,1]=>[1,2,3,4,5] ◦ [2,1,1,2]=>[1,1,2,2] • 動画を見ていてバグをみつけたらおしえてください