분류 전체보기(218)
-
Leetcode 179. Largest Number - Python
이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다Leetcode 179 문제 보기 문제 이해하기 주어진 nums 리스트에는 양의 정수들이 있다. 이들을 조합하여 만들 수 있는 가장 큰 수를 구하라. 예를 들어 nums = [3,30,34,5,9] 일 경우, 정답은 "9534330" 이다. 아이디어 구상 주어진 예시에서 알 수 있듯이, 단순히 큰 수를 앞으로 놓는다고 해결되지 않는다. 각각의 digit이 가능한 큰 숫자가 오도록 나열해야 정답을 구할 수 있다. 때문에 nums 안에 있는 각각의 숫자를 String으로 만들고, 두 개의 원소 n1, n2를 순서를 바꿔 결합하여 대소 관계를 비교, 큰 수가 앞서도록 정렬하면 되겠다. 그렇다면 이제 어떻게 이 과정을 코드로 옮..
2022.06.23 -
Computing Systems, 그리고 추상화
The notion of abstraction, central to many arts and sciences, is normally taken to be a mental expression that seeks to separate in thought, and capture in some concise manner, the essence of some entity. In computer science, we take the notion of abstraction very concretely, defining it to be a statement of “what the entity does” and ignoring the details of “how it does it.” -From [The Elements..
2022.06.14 -
롯데월드타워 | 촙촙 - 진한 국물의 베트남 쌀국수 (Vietnamese rice noodle in Lotte World Mall)
진한 국물의 베트남 쌀국수, 촙촙 Chớp Chớp, Vietnamese pho in Lotte world mall For people who live in Korea 평가 감칠맛 나는 진한 쌀국수를 먹고 싶다면 (3/5) 주차 유료 (롯데월드몰 주차장 이용, 식당만 이용 시 주차 할인 X) 접근 잠실역 11번 출구에서 롯데월드몰로 2분 가격 1~1.5 만원 / 인 For travelers visiting Korea for a short time Local's thought Want to try rice noodle with rich flavor (3/5) Uniqueness South East Asian food Location 2min from Jamsil station by walk Price 10..
2022.06.02 -
Microservices Architecture 란?
The microservice architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. -Martin Fowler 1. 개요 마이크로서비스 아키텍처란 어플리케이션 개발을 위한 아..
2022.06.01 -
강남구청 | 포인비에트 강남구청역본점 - 강남구청역 인근 쌀국수는 여기서 (Vietnamese rice noodle near Gangnam-gu Office)
강남구청역 인근에서 쌀국수를 먹고 싶다면, 포인비에트 강남구청역본점 Phoinviet, Vietnamese pho near Gangnam-gu Office For people who live in Korea 평가 강남구청역 인근에서 쌀국수를 먹고 싶다면 (3/5) 주차 보통 (일반적으로 주차 공간 부족) 접근 강남구청역 2번 출구에서 도보로 2분 가격 1~1.5 만원 / 인 For travelers visiting Korea for a short time Local's thought Want to try rice noodle near Gangnam-gu Office station (3/5) Uniqueness South East Asian food Location 2min from Gangnam-gu O..
2022.05.30 -
Leetcode 316. Remove Duplicate Letters - Python
Leetcode 316 문제 보기 문제 이해하기 소문자 알파벳으로 이루어진 문자열 s가 있다. (1 str: counter = collections.Counter(s) visited, stack = set(), [] for char in s: counter[char] -= 1 if char in visited: continue while stack and char 0: visited.remove(stack.pop()) stack.append(char) visited.add(char) return ''.join(stack) Leetcode 316. Remove Duplicate Letters https://leetcode.com/proble..
2022.05.07