목록2023/11 (69)
넘치게 채우기
https://leetcode.com/problems/diagonal-traverse-ii/description/ Diagonal Traverse II - LeetCode Can you solve this real interview question? Diagonal Traverse II - Given a 2D integer array nums, return all elements of nums in diagonal order as shown in the below images. Example 1: [https://assets.leetcode.com/uploads/2020/04/08/sample_1_1784.png] I leetcode.com leetcode - Diagonal Traverse II 문제 ..
https://leetcode.com/problems/count-nice-pairs-in-an-array/description/ Count Nice Pairs in an Array - LeetCode Can you solve this real interview question? Count Nice Pairs in an Array - You are given an array nums that consists of non-negative integers. Let us define rev(x) as the reverse of the non-negative integer x. For example, rev(123) = 321, and rev(120) = 21 leetcode.com leetcode - Count..
앞서 서술한 바와 같이 좋은 아키텍처는 다음을 지원해야 한다. 시스템의 유스케이스 시스템의 운영 시스템의 개발 시스템의 배포 유스케이스 첫 번째 주요 항목인 유스케이스의 경우, 시스템의 아키텍처는 시스템의 의도를 지원해야 한다는 뜻이다. 만약 시스템이 장바구니 애플리케이션이라면, 이 아키텍처는 장바구니와 관련된 유스케이스를 지원해야 한다. 실제로 아키텍트의 최우선 관심사는 유스케이스이며, 아키텍처에서도 유스케이스가 최우선이다. 아키텍처는 반드시 유스케이스를 지원해야한다. 하지만 앞서 논의한 바와 같이 아키텍처는 시스템의 행위에 그다지 큰 영향을 주지 않는다. 행위와 관련하여 아키텍처가 열어 둘 수 있는 선택사항은 거의 없다. 하지만 영향력이 전부는 아니다. 좋은 아키텍처가 행위를 지원하기 위해 할 수 있..
https://school.programmers.co.kr/learn/courses/30/lessons/67259# 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 2020 KAKAO Tech Internship - 경주로 건설 문제 유형 : bfs, dp, 최단거리, 다익스트라 문제 난이도 : Level 3 문제 설명 건설회사의 설계사인 죠르디는 고객사로부터 자동차 경주로 건설에 필요한 견적을 의뢰받았습니다. 제공된 경주로 설계 도면에 따르면 경주로 부지는 N x N 크기의 정사각형 격자 형태이며 각 격자는 1 x 1 크기입니다. 설계 도면에는 각 격자의..
https://leetcode.com/problems/minimum-amount-of-time-to-collect-garbage/description/ Minimum Amount of Time to Collect Garbage - LeetCode Can you solve this real interview question? Minimum Amount of Time to Collect Garbage - You are given a 0-indexed array of strings garbage where garbage[i] represents the assortment of garbage at the ith house. garbage[i] consists only of the characters 'M lee..
https://leetcode.com/problems/reduction-operations-to-make-the-array-elements-equal/description/ Reduction Operations to Make the Array Elements Equal - LeetCode Can you solve this real interview question? Reduction Operations to Make the Array Elements Equal - Given an integer array nums, your goal is to make all elements in nums equal. To complete one operation, follow these steps: 1. Find the..
아키텍처(architecture)라는 단어는 중대한 결정과 심도 있는 기술적 기량을 떠올리게 한다. 소프트웨어 아키텍처란 무엇인가? 소프트웨어 아키텍트는 무슨 일을 하며, 언제 그 일을 하는가? 무엇보다도 소프트웨어 아키텍트는 프로그래머이며, 앞으로도 계속 프로그래머로 남는다. 소프트웨어 아키텍트는 코드와 동떨어져서는 안된다. 소프트웨어 아키텍트는 최고의 프로그래머이며, 앞으로도 계속 프로그래밍 작업을 맡을 뿐만 아니라 동시에 나머지 팀원들이 생산성을 극대화할 수 있는 설계를 하도록 방향을 이끌어준다. 프로그램 작업을 계속하는 이유는, 발생하는 문제를 경험해보지 않으면 다른 프로그래머를 지원하는 작업을 제대로 수행할 수 없기 때문이다. 소프트웨어 시스템의 아키텍처란 시스템을 구축했던 사람들이 만들어낸 시..
https://leetcode.com/problems/frequency-of-the-most-frequent-element/description/ Frequency of the Most Frequent Element - LeetCode Can you solve this real interview question? Frequency of the Most Frequent Element - The frequency of an element is the number of times it occurs in an array. You are given an integer array nums and an integer k. In one operation, you can choose an index o leetcode...
https://leetcode.com/problems/minimize-maximum-pair-sum-in-array/description/ Minimize Maximum Pair Sum in Array - LeetCode Can you solve this real interview question? Minimize Maximum Pair Sum in Array - The pair sum of a pair (a,b) is equal to a + b. The maximum pair sum is the largest pair sum in a list of pairs. * For example, if we have pairs (1,5), (2,3), and (4,4), the m leetcode.com leet..
지금부터 다룰 세 가지 원칙은 컴포넌트 사이의 관계를 설명한다. 이 장에서도 마찬가지로 개발 가능성과 논리적 설계 사이의 균형을 다룬다. ADP: 의존성 비순환 원칙 “컴포넌트 의존성 그래프에 순환(cycle)이 있어서는 안 된다.” 주 단위 빌드(Weekly Build) 주 단위 빌드는 중간 규모의 프로젝트에서는 흔하게 사용된다. 먼저 모든 개발자는 일주일의 첫 4일 동안은 서로를 신경 쓰지 않는다. 개발자는 모두 코드를 개인적으로 복사하여 작업하며, 전체적인 기준에서 작업을 어떻게 통합할지는 걱정하지 않는다. 그런 후, 금요일이 되면 변경된 코드를 모두 통합하여 시스템을 빌드한다. 이 접근법은 5일 중 4일 동안 개발자를 고립된 세계에서 살 수 있게 보장해준다. 그러나, 프로젝트가 커지면 프로젝트 통..