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 |
Tags
- sorting
- Binary Tree
- Data Structure
- 파이썬
- Stack
- simulation
- java
- hash table
- implement
- Tree
- Math
- Matrix
- string
- 구현
- 코딩테스트
- Class
- SQL
- Method
- dynamic programming
- Binary Search
- geometry
- Counting
- Number Theory
- greedy
- bit manipulation
- 자바
- two pointers
- database
- 코테
- array
Archives
- Today
- Total
목록addition (1)
코린이의 소소한 공부노트
[프로그래머스/Lv.1] 행렬의 덧셈
1. Input 1) int 행렬 arr1 2) int 행렬 arr2 2. Output 1) arr1과 arr2의 덧셈 결과 3. Constraint 1) 두 행렬의 행과 열의 길이는 500을 넘지 않는다. 2) 두 행렬의 크기는 같다. 4. Example Input: arr1={{1,2},{2,3}}, arr2={{3,4},{5,6}} -> Output: {{4,6}.{7,9}} 설명: { {1+3, 2+4}, = { {4, 6}, {2+5, 3+6}} {7, 9}} 5. Code 1) 첫 코드(2022/??) int row = arr1.length; int col = arr1[0].length; int[][] answer = new int[row][col]; for(int i=0 ; i
코딩테스트 풀이/JAVA
2022. 11. 22. 14:59