サンダーボルト

相手モンスターを全て破壊する。

2019-03-29から1日間の記事一覧

LeetCode Study : 7. Reverse Integer

問題 Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 120 Output: 21 https://leetcode.com/problems/reverse-integer/ Note: Assume we are dea…

LeetCode Study : 1. Two Sum

問題 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums …