Leetcode/medium (7) 썸네일형 리스트형 [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] 970. Powerful Integers April Leetcode Challenge 2021에서 4월 30일에 (PST) 출시된 문제를 풀어보도록 하겠다. 문제는 아래 링크를 참고하길 바란다. leetcode.com/problems/powerful-integers/ Powerful Integers - 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 이 문제를 처음 봤을때는 뭔가 다른 트릭이 필요한가? 라는 생각이 들었는데 그냥 brute-force 로 푸는 방법보다 딱히 더 빠른 알고리즘이 떠오르지 않.. [Leetcode] 34. Find First and Last Position of Element in Sorted Array April Leetcode Challenge 2021에서 4월 29일에 (PST) 출시된 문제를 풀어보도록 하겠다. 문제는 아래 링크를 참고하길 바란다. leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/ Find First and Last Position of Element in Sorted 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 항상 말씀드리지만, .. [Leetcode] 63. Unique Paths II April Leetcode Challenge 2021에서 4월 28일에 (PST) 출시된 문제를 풀어보도록 하겠다. 문제는 아래 링크를 참고하길 바란다. https://leetcode.com/problems/unique-paths-ii/ Unique Paths II - 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 문제를 읽어보면 m X n 그리드가 주어지고 왼쪽 최상단에 로봇이 있다고 한다. 이 로봇은 오른쪽 또는 아래쪽으로만 이동할 수 있다고 한다. 로봇은 .. [Leetcode] 48. Rotate Image 오랜만에 돌아왔습니다. 한두달간 충전했고 다시금 새로 달려보려고 합니다. 인터뷰 일정이 잡혔기 때문에 블로그는 많이 못해도 꾸준히 공부하는게 목표입니다. 오늘은 배열의 위치를 변경하는 문제를 풀어보겠다. April Leetcode Challenge 2021 에서 4월 25일에 (PST) 출시된 문제이다. 문제는 아래 링크를 참고하길 바란다. leetcode.com/problems/rotate-image/ Rotate Image - 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. leet.. [Leetcode] 1721. Swapping Nodes in a Linked List 오늘은 Linked List 내의 특정 노드들을 swap 하는 문제를 풀어보겠다. March Leetcode Challenge 2021 에서 3월 14일 (PST) 에 출시된 문제이다. 문제는 아래 링크를 참고하시면 된다. leetcode.com/problems/swapping-nodes-in-a-linked-list/ Swapping Nodes in a Linked List - 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 문제를 읽어보면 입력으로 Linked.. [Leetcode] 622. Design Circular Queue (feat. Amazon PhoneScreen Interview) 필자가 Amazon PhoneScreen Interview 시에 받았던 Circular Queue (원형 큐, 환형 큐) 구현 문제를 복기해보려고 한다. 기본적인 문제인데, 원리만 자료구조 수업시간에 듣고 실사용도 굳이 구현체의 코드까지 따라가며 복기해본적이 없다보니 어려웠다. 게다가 LP (Leadership Principles)를 영어로 30분하고 나서 머리가 새하얘진 상태로 코딩문제를 풀려니 아무것도 생각나지 않았다. 심지어 폰스크린 인터뷰에서 설계 (Design) 쪽 문제는 안나온다고 많은 블로그에서 봤었는데, 이런 구현 설계는 나오나보다...고 글을 읽으시는 분들은 참고하시면 되겠다. 어쨌든 제대로 못풀었으니 전부 핑계고 변명이다 ㅠㅠ 문제는 아래 링크를 참고하시면 된다. leetcode.com.. 이전 1 다음