NinaLabo

個人ゲーム開発者の技術メモ

2019-11-08から1日間の記事一覧

【LeetCode】13. Roman to Integer(Easy)

【最初に】 LeetCode 4個目に挑戦です leetcode.com // 【問題】 https://leetcode.com/problems/roman-to-integer/ ローマ数字を整数に変換せよ Example 1: Input: "III" Output: 3 Example 2: Input: "IV" Output: 4 Example 3: Input: "IX" Output: 9 Exa…

【LeetCode】9. Palindrome Number (Easy)

【最初に】 LeetCode 3個目に挑戦です leetcode.com // 【問題】 https://leetcode.com/problems/palindrome-number/ 回文の整数(前から読んでも後ろから読んでも同じ数値になっている)かどうかを判定せよ。 Example 1: Input: 121 Output: true Example 2…