하나의 토이프로젝트를 진행하며 기록하기 위해 작성. 대게 SpringBoot로 백엔드쪽 공부를 하다보면, 프론트쪽은 thymeleaf 로 개발을 많이 하게 되어 있다. 뭔가 UI로 보여줄 때 있어보이는 거나, 실제 사용하는 프론트 프레임워크를 적용하고 싶어서 Vue.js 를 사용했다. 단순히 JavaScript 쪽으로 깊이가 없기에 리액트나 앵귤러보다 단순한 Vue를 쓰기로 정함. 참고 : https://codingapple.com/unit/why-use-vue-over-react/ 카카오가 리액트 냅두고 왜 Vue 쓰는지 알려드림 - 코딩애플 온라인 강좌 실은 카카오 프론트엔드 개발자들은 리액트랑 반반 섞어서 쓴다고 합니다. 다만 초절정 유행 중인 리액트라는 선택지를 놔두고 네이버든 카카오든 Vue로 ..
39. Combination Sum 문제 LINK : https://leetcode.com/problems/combination-sum/description/ candidates 배열 내 합으로 target이 되는 모든 조합 찾기. 난이도 : medium 문제 풀이 소스 class Solution { List result; public List combinationSum(int[] candidates, int target) { result = new ArrayList(); calc(candidates, 0, 0, target, new ArrayList()); return result; } public void calc (int [] candidates ,int index, int sum, int targ..
문제 LINK https://leetcode.com/problems/subsets/ 난이도 : Medium Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. Return the solution in any order. -> Power set : 해당 집합의 모든 부분 집합을 모아둔 것이다. Ex) {1, 2, 3}의 PowerSet {{}, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}} 풀이 소스 비트연산을 통한 Subset 구현 조합(Combinatio..