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
【2018/05/08 Otemachi.rb#6】Rubyで取り組むProject Eular
Search
Shu OGAWARA
May 08, 2018
Technology
0
320
【2018/05/08 Otemachi.rb#6】Rubyで取り組むProject Eular
2018/05/08 Otemachi.rb#6でのLTです
Shu OGAWARA
May 08, 2018
Tweet
Share
More Decks by Shu OGAWARA
See All by Shu OGAWARA
あなたの「仮説検証」、ゆがんでいませんか? / Isn't Your "Hypothesis Verification" Distorted? #emoasis
expajp
1
280
Rubyはなぜ「たのしい」のか? / Why is Ruby a programmers' best friend? #tqrk15
expajp
5
1.9k
エンジニアリングマネージャーはどう学んでいくのか #devsumi / How Do Engineering Managers Continue to Learn and Grow?
expajp
8
4.6k
RubyKaigi参加歴をふりかえる / Looking Back on My RubyKaigi Participation History #kaigieffectLT
expajp
3
460
わたしのメタ学習 / My Own Meta Learning #shinjukurb
expajp
0
430
ActiveSupport::Concernで開くメタプログラミングの扉 #heiseirubykaigi / The door of meta-programing is opened by ActiveSupport::Concern
expajp
1
2.2k
実践Railsアプリケーション設計 #meetup_rails / Practical Rails Application Design
expajp
4
39k
【2019/07/06 TamaRuby会議01】brainf*ck処理系で理解するパターンマッチングをつかった疎結合な実装
expajp
2
2.7k
その正規表現、異議あり! 〜 ReDoSについて
expajp
2
5.7k
Other Decks in Technology
See All in Technology
AIでめっちゃ便利になったけど、結局みんなで学ぶよねっていう話
kakehashi
PRO
1
520
ペアーズにおける評価ドリブンな AI Agent 開発のご紹介
fukubaka0825
7
2k
地味にいろいろあった! 2025春のAmazon Bedrockアップデートおさらい
minorun365
PRO
2
550
AIコーディングの最前線 〜活用のコツと課題〜
pharma_x_tech
4
2.9k
MCPが変えるAIとの協働
knishioka
1
120
3D生成AIのための画像生成
kosukeito
2
580
品質文化を支える小さいクロスファンクショナルなチーム / Cross-functional teams fostering quality culture
toma_sm
0
180
QA/SDETの現在と、これからの挑戦
imtnd
0
220
持続可能なドキュメント運用のリアル: 1年間の成果とこれから
akitok_
1
270
LLM アプリケーションのためのクラウドセキュリティ - CSPM の実装ポイント-
osakatechlab
0
160
CodeRabbitと過ごした1ヶ月 ─ AIコードレビュー導入で実感したチーム開発の進化
mitohato14
1
230
AIエージェント開発手法と業務導入のプラクティス
ykosaka
9
2.7k
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.5k
Facilitating Awesome Meetings
lara
54
6.3k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Making the Leap to Tech Lead
cromwellryan
133
9.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
690
The Pragmatic Product Professional
lauravandoore
33
6.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.6k
A designer walks into a library…
pauljervisheath
205
24k
4 Signs Your Business is Dying
shpigford
183
22k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Building a Modern Day E-commerce SEO Strategy
aleyda
40
7.2k
Transcript
2018/05/08 Otemachi.rb#6 RubyProject Eular Shu OGAWARA (@expajp)
+-$ n ( '(@expajp) – 3 – Ruby/Rails*1 –
&% – #)!" – .%,
Project Eular
Project Eular https://projecteuler.net/
Project EularRuby n 1978/- 6: – 78/2,6+1.8000+ n %' –
('$8;< – 45#/% &#&'7 – Write Code Everyday " – )*&! 6 03
n Project Eular n
– Ruby
n Project EularRuby,$' "#!& – 30/.0 - –
1 n (+Project Eular)* %1),
n
n –
String#each_char • 1 – Enumerable#inject •
n 100% ( #
– Enumerable#combination(n) • &) n' ( " – Prime.instance.prime? (prime$) • ( !
n Problem 4 !" $% & #!
. 2'" ! , 9009 = 91 99 . , 3'" !# .
n Project Eular *)$ /F+"- n Ruby,-(!3. – Enumerable&'*:
– ,-(! ; ? 48 – RubyA5=2796 • E<% DC n Rails #BG@0>1