Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Matrix
- 파이썬
- SQL
- Class
- simulation
- hash table
- Tree
- Data Structure
- Number Theory
- 코테
- array
- Method
- two pointers
- java
- greedy
- geometry
- Math
- 구현
- implement
- 코딩테스트
- Counting
- dynamic programming
- database
- string
- Binary Tree
- bit manipulation
- 자바
- Stack
- sorting
- Binary Search
Archives
- Today
- Total
코린이의 소소한 공부노트
[LeetCode/Easy] 2235. Add Two Integers 본문
1. Input
1) 정수 num1
2) 정수 num2
2. Output
1) num1과 num2의 합을 반환
3. Constraint
1) -100 <= num1, num2 <= 100
4. Example
Input: num1 = -10, num2 = 4 -> Output: -6
5. Code
1) 첫 코드(2022/06/01)
return num1 + num2;
'코딩테스트 풀이 > JAVA' 카테고리의 다른 글
[LeetCode/Easy] 2255. Count Prefixes of a Given String (0) | 2023.01.16 |
---|---|
[LeetCode/Easy] 2236. Root Equals Sum of Children (0) | 2023.01.16 |
[LeetCode/Easy] 2224. Minimum Number of Operations to Convert Time (0) | 2023.01.15 |
[LeetCode/Easy] 2220. Minimum Bit Flips to Convert Number (0) | 2023.01.15 |
[LeetCode/Easy] 2194. Cells in a Range on an Excel Sheet (0) | 2023.01.15 |