본문 바로가기

분류 전체보기32

[내가사는그집] 대출 상환 방법에 대해 알아보자 ¡¡¡( •̀ ᴗ •́ )و!!! 대출을 알아보다 보면 한번쯤은 보게 되는 대출 상환 방법. 그 말이 그 말인 것 같고 앱에서 매월 상환 금액을 알아서 계산해 주기 때문에 사실 직접 계산해 볼 일은 없을지도 모른다. 그치만 넘나 궁금한 것! 원금 균등 분할상환 대출금액을 대출기간 개월수 (거치기간이 있는 경우 거치 후 잔여 대출기간 개월수)로 균등하게 나누어 산정한 분할상환금과 이자를 매월 납부합니다. - 카카오 뱅크 원금 균등 분할상환이란 먼저 원금을 대출기간으로 균등하게 나눈다는 것이다. 따라서 시간이 지남에 따라 남은 원금은 줄어들게 되며 이에 따라 발생하는 이자도 함께 줄어들게 된다. (= 납입 원금이 매월 동일!!) 대출원금: 100,000,000원 연 이자율: 5% 총 대출이자: 25,208,333원 총 상환금액: 125,20.. 2023. 10. 28.
[Spring] Bean? DI? 이제는 친해지자! "Spring"이라 했을 때 많이 나오는 키워드 중 하나는 바로 DI, 즉 의존성 주입이다. 도대체 이게 왜 Spring의 키워드일까? 그 이유는 바로 Spring이 이 DI 과정을 알아서 해 주기 때문이다. 최근에 Spring 공부를 다시 시작하게 되었는데 아주 간단하게 DI에 대해 알아보자! 먼저, DI란 뭘까? DI (Dependency Injection): 의존성 주입 고객 관리 서비스를 개발할 때 고객을 관리하는 Service Class가 있으면 고객의 데이터를 다루는 Dao Class가 있을 것이다. 이 경우 아래와 같이 두 Class간의 의존성이 생기게 된다. class MemberService { private MemberDao memberDao = new MemberDao(); } Mem.. 2022. 9. 24.
[LeetCode][Stack] 20. Vali Parentheses 문제 링크 https://leetcode.com/problems/valid-parentheses/ Valid Parentheses - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brac.. 2022. 9. 3.
[LeetCode][DFS|BFS] 130. Surrounded Regions 문제 링크 https://leetcode.com/problems/surrounded-regions/ Surrounded Regions - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Given an m x n matrix board containing 'X' and 'O', capture all regions that are 4-directionally surrounded by 'X'. A region is captured by flipping all 'O's.. 2022. 4. 7.