99클럽 코테 스터디 40일차 TIL + 오늘의 학습 키워드 ☑️ Leetcode: 62. Unique Pathshttps://leetcode.com/problems/unique-paths/description/ ☑️ Code (DP)class Solution { public int uniquePaths(int m, int n) { int[][] dp = new int[m][n]; // 1. init the base cases for (int i = 0; i TIL (Today I Learned) 2024.08.30
99클럽 코테 스터디 39일차 TIL + 오늘의 학습 키워드 ☑️ 문제: 광물 캐기https://school.programmers.co.kr/learn/courses/30/lessons/172927 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr ☑️ 풀이import java.util.*;class Solution { int[][] energy = { { 1, 1, 1 }, { 5, 1, 1 }, { 25, 5, 1 } }; Map mineralMap = new HashMap(); int answer; public int so.. TIL (Today I Learned) 2024.08.30