본문 바로가기
Computer Science/Problem Solve

LeetCode Weekly Contest 272

by snfjddl 2021. 12. 19.

주말에 딱히 할 것도 없고 해서 이것저것 찾아보다가 릿코드에서 매주 진행하는

알고리즘 문제풀이 콘테스트가 눈에 띄었다.

 

내가 봤을 때가 콘테스트 시작 15분전이라 부랴부랴 참가 접수해서 참여했다 ㅎㅎ

이번 주는 특이하게 아마존 페이에 인터뷰 기회가 있는 콘테스트였던 것 같다!

뭐 나는 심심풀이로 참여한 거니까 그냥저냥 풀었는데

 

처음에는 저기 순위권에 있는 괴수들은 뭐하는 사람들인지 궁금했는데

아무래도 릿코드에 있는 문제들을 기반으로 출제돼서 저게 가능한 모양이다.

등수는 문제를 맞춰서 얻은 점수, 맞춘 시간 순으로 우선순위를 부여하는 것 같다.

 

풀다 보니 승부욕이 생겨서 나름 열심히 했는데 4번을 못 풀었다 ㅠ ㅠ

아이디어가 떠오르지 않아서 30분 정도 남았지만 그냥 포기했다

(배고파서 끈건 비밀..)

 

4번 문제 링크

https://leetcode.com/contest/weekly-contest-272/problems/minimum-operations-to-make-the-array-k-increasing/

 

Account Login - 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

 

마지막 문제의 해답은 아래 링크에서 확인이 가능하다.

https://leetcode.com/discuss/interview-question/1547544/amazon-online-1st-round-questions

 

Amazon | online 1st round | questions - LeetCode Discuss

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

 

나는 0~k까지 구분해서 어떻게 해야 될 것 같은데~ 에서 더 발전시키지 못했는데..

세상에 똑똑한 사람은 정말 많다. 열심히 해야징

반응형

댓글