본문 바로가기

리트코드문제풀이

(3)
[Leetcode] 665. Non-decreasing Array May Leetcode Challenge 2021에서 5월 4일에 (PST) 출시된 문제를 풀어보도록 하겠다. 문제는 아래 링크를 참고하길 바란다. leetcode.com/problems/non-decreasing-array/ Non-decreasing Array - 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 이번에는 풀이보단 복기에 가까우니 참고해서 보시면 좋을 것 같습니다. 음, 결론부터 말하자면 이 문제를 제대로 풀진 못했다. 시간도 1시간 넘게 썼고...
[Leetcode] 1480. Running Sum of 1d Array 저번 주말은 장인어른 생신도 있고, 처남네가 집에 와있었던터라 공부를 못했다... 뭐... 할 시간이 있었지만, 안했던 것이니 반성하면서 다시 또 월요일을 열어본다. 인터뷰가 머지 않았다고! May Leetcode Challenge 2021 에서 5월 3일에 (PST) 출시된 문제를 풀어보도록 하겠다. 문제는 아래 링크를 참고하길 바란다. leetcode.com/problems/running-sum-of-1d-array/ Running Sum of 1d Array - 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..
[Leetcode] 326. Power of Three April Leetcode Challenge 2021 에서 4월 27일에 (PST) 출시된 문제를 풀어보도록 하겠다. 문제는 아래 링크를 참고하길 바란다. leetcode.com/problems/power-of-three/ Power of Three - 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 주어진 n 이 3의 거듭제곱인지에 대해서 판별하는 문제이다. 문제를 보자마자 3으로 계속 나누어서 1이 나오면 성공이라는 생각이 들었다. 역시나 당연히 follow-..