Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
競プロに出てきそうなアルゴリズム
Search
NearMeの技術発表資料です
PRO
July 11, 2022
Technology
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
競プロに出てきそうなアルゴリズム
NearMeの技術発表資料です
PRO
July 11, 2022
More Decks by NearMeの技術発表資料です
See All by NearMeの技術発表資料です
AIエージェントのための 隔離された安全なインフラ設計
nearme_tech
PRO
0
23
Claude Code × git worktree で並列開発 (続き) -差分のサービスだけを併設する-
nearme_tech
PRO
1
69
Claude Code × git worktree で並列開発 — サブモジュール構成のリポジトリで成立させる —
nearme_tech
PRO
0
79
LLM + 強化学習
nearme_tech
PRO
0
37
PosthogのA/Bテスト機能の紹介
nearme_tech
PRO
1
110
AIフレンドリーなプロダクトに向けて
nearme_tech
PRO
2
71
初めてのLean言語
nearme_tech
PRO
0
110
Apache Airflow Workflow orchestration without turning cron into spaghetti
nearme_tech
PRO
2
50
実務で役立つ幾何学 ボロノイ図の基礎から グラフ・ネットワーク応用まで
nearme_tech
PRO
1
93
Other Decks in Technology
See All in Technology
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
PRO
0
440
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
Refining Active Record
shugo
0
160
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
エンタメ企業のM&Aを支えるデータ基盤 ― 統合から店舗のリアルタイム分析まで / Data Engineering Summit 2026
genda
0
190
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
300
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
1k
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
180
React改造してみた
tsukina_7mochi
0
110
Featured
See All Featured
A better future with KSS
kneath
240
18k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
Un-Boring Meetings
codingconduct
0
460
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Optimising Largest Contentful Paint
csswizardry
37
4k
Done Done
chrislema
187
17k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
410
WENDY [Excerpt]
tessaabrams
14
40k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Transcript
0 競プロに出てきそうなアルゴリズム 2022-07-08 第5回NearMe技術勉強会 Yuki Nonaka
1 目次 1. アルゴリズムについて 2. 計算量について 1
2 アルゴリズムとは あるタスクを達成するために設計された有限回の計算手順 例:線形探索、二分探索、ソートなど 2
3 アルゴリズムの例 問題:二次元空間にプロットされた点について、距離が一番短い2点を 求める ・考えつくもの for i in range(点の数): for
j in range(点の数): (2点間の距離を求める) 3
4 計算量 与えられたアルゴリズムがどの程度の時間で実行できるのかを半定 量的に表したもの。(オーダー記法) 例:O(n),O(n2) 4
5 計算量の例1 ・二次元空間にプロットされた点について、距離が一番短い2点を求め る 分割統治法だとO(nlog(n)) 5 1 2 3 4
5 1 2 3 4 5 計算量はn2/2 →O(n2)
6 計算量の例2 ・巡回セールスマン問題 全探索すると計算量はO(n!) →いろんな近似解法がある 多項式時間で計算できるアルゴリズムが 見つかっていないNP困難問題に属する 6 A C
B E D
7 参考文献 ・アルゴリズムとデータ構造 7
8 Thank you