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
260
【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
ActiveSupport::Concernで開くメタプログラミングの扉 #heiseirubykaigi / The door of meta-programing is opened by ActiveSupport::Concern
expajp
1
1.9k
実践Railsアプリケーション設計 #meetup_rails / Practical Rails Application Design
expajp
4
36k
【2019/07/06 TamaRuby会議01】brainf*ck処理系で理解するパターンマッチングをつかった疎結合な実装
expajp
2
2.4k
その正規表現、異議あり! 〜 ReDoSについて
expajp
2
4.8k
【2018/12/08 RailsDM】「あの人」に学ぶ!駆け出しRailsエンジニアの日常の過ごし方
expajp
8
1.2k
【2018/09/18 Otemachi.rb#9】君(退会したユーザ)の名は。
expajp
0
430
【2018/07/29 TokyuRuby会議12】Project Eulerから生まれたワンライナーたち
expajp
0
530
【2018/07/10 Otemachi.rb#8】情報収集どうしてますか?
expajp
0
620
しくじり先生「新卒2年目の転職」
expajp
3
3.1k
Other Decks in Technology
See All in Technology
LLM + RAG を使った SORACOM Support Bot の裏側の歴史
soracom
PRO
1
640
Autify Company Deck
autifyhq
1
30k
XRミーティング 2024-03-20
1ftseabass
PRO
0
100
KubeCon EU 2024 : Knative Maintainers Session
salaboy
0
380
初心者が行く!サーバレスWebアプリ開発の道
nagaharutogawa
0
450
Vos logs méritent mieux que la config par défaut
lyrixx
2
420
業務で使えるかもしれない…!?GitHub Actions の Tips 集 / CI/CD Test Night #7
ponkio_o
PRO
24
7.2k
#51 “Empowering Azure Storage with RDMA”
cafenero_777
3
220
長文から長文を生成するLLMツールをオープンソースで作ってみた。
tomohisa
2
150
サービス成長と共に肥大化するモノレポ、長くなるCI時間 / As services grow, monorepos get bigger and CI time gets longer
kohbis
5
2.1k
Building a RAG app to chat with your data (on Azure)
pamelafox
0
140
TypeScript Quiz (Encraft #12 Frontend Quiz Night)
uhyo
6
800
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
123
8.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
185
15k
Code Reviewing Like a Champion
maltzj
512
39k
Optimizing for Happiness
mojombo
369
69k
Fantastic passwords and where to find them - at NoRuKo
philnash
35
2.4k
Building Adaptive Systems
keathley
29
1.8k
Debugging Ruby Performance
tmm1
68
11k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
240
1.2M
GraphQLの誤解/rethinking-graphql
sonatard
48
9.1k
4 Signs Your Business is Dying
shpigford
174
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
23
1.9k
The Power of CSS Pseudo Elements
geoffreycrofte
58
4.9k
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