코딩테스트/LeetCode
2022. 6. 26.
[LeetCode]Maximum Points You Can Obtain From Cards
문제링크 Maximum Points You Can Obtain from Cards - 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 영어 실력이 안좋아서 리트코드는 문제를 이해하는 것이 제일 힘들다.. 앞에서부터 cardsPoints의 k개를 더한 값과 앞에서부터 cardsPoints의 k-1개를 더한 값 + 뒤에서부터 cardsPoints의 1개를 더한값 앞에서부터 cardsPoints의 k-2개를 더한 값 + 뒤에서부터 cardsPoints의 2개를 더한값...