2018-04-01から1ヶ月間の記事一覧

LeetCode #2 Add Two Numbers プログラミング練習

問題: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.You may assum…

LeetCode #1 Two Sum プログラミング練習

こんにちは!初はてなブログです。日本人にはあまり馴染みのないかもしれないLeetCodeですが、実はアメリカや中国では情報系の学生なら誰もが一日一問解いていると言われる超有名練習問題です。(実はグーグルやフェイスブック等アメリカ有名企業の面接問題…