본문 바로가기

전체 글

[LeetCode] 27. Remove Element https://leetcode.com/problems/remove-element/ Remove Element - LeetCode Remove Element - Given an integer array nums and an integer val, remove all occurrences of val in nums in-place [https://en.wikipedia.org/wiki/In-place_algorithm]. The relative order of the elements may be changed. Since it is impossible to change the leng leetcode.com array에서 특정 값을 삭제하는데 in-place 방식(extra datastructre를 사용하지.. 더보기
'가처분소득'이란? 정의 국민소득 통계상의 용어로 개인소득 중 소비 ·저축을 자유롭게 할 수 있는 소득. 해석 소득에서 세금 세외부담 이자지급 등을 제외하고 개인이 마음대로 할 수 있는 소득이다. 예를들어 가계 부채가 높고 금리가 올라가는 2022년 후반기에는 가처분 소득이 줄어드는 상황이라고 볼 수 있다. 더보기
[LeetCode] 88. Merge Sorted Array https://leetcode.com/problems/merge-sorted-array/?envType=study-plan&id=data-structure-i Merge 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 두 개의 오름차순 정렬된 list를 merge하는 문제 nums1의 길이가 m, nums2의 길이가 n 시간복잡도를 O(m+n)으로 만든는 것이 최적 솔루션 하지만 나 프로개발자 코드 생산성을 최대로 하는 O( (m+n)l.. 더보기
[LeeCode] 53. Maximum Subarray 목표없이 풀다보니 의지가 약해지는 것 같아 'data structure'로 묶인 문제를 풀기로 결정. https://leetcode.com/study-plan/data-structure/?progress=x0f8sqb1 Data Structure - Study Plan - LeetCode In computer science, a data structure is a way to store and organize data. During the computer programming process, identifying and using the appropriate data structure is an important task as it can improve the overall efficiency of th.. 더보기
[LeetCode] 217. Contains Duplicate 목표없이 풀다보니 의지가 약해지는 것 같아 'data structure'로 묶인 문제를 풀기로 결정. https://leetcode.com/study-plan/data-structure/?progress=x0f8sqb1 Data Structure - Study Plan - LeetCode In computer science, a data structure is a way to store and organize data. During the computer programming process, identifying and using the appropriate data structure is an important task as it can improve the overall efficiency of th.. 더보기
구글 프로그램이 스타일 가이드(Google Style Guides) 협업을 하다보면 코딩 스타일을 맞추는 작업이 필요하다. 그럴 때 참고하기 위해 구글에서 제공하는 스타일 가이드를 활용하고자 기록한다. https://google.github.io/styleguide/ Google Style Guides Style guides for Google-originated open-source projects google.github.io 더보기
프로젝트의 방향성이 모호할 때는 어떻게 해야할까 신규 프로젝트를 진행하다보면 자꾸 스펙이나 방향성이 틀어지는 경우가 생긴다. 구현하다 보니 이게 좋아보이고, 이렇게 하는게 더 나은것 같은데? 이러한 것들이 반복되면 수정하고 기존에 개발했던 것들을 갈아 엎는 경우가 생긴다. 그러다보면 점점 방향성이나 형상이 모호해진다. 그래서 무엇이 문제일까 고민하다 스스로 답을 내린 결론은 다음과 같다. 예전에는 몰랐던 초기에 상위 설계라는 것의 중요성을 깨닫게 된다. - 꼭 필요한 기능, 혹은 필수 요구 성능 또는 수치 등 - 실제 수행되는 시나리오는 어떻게 되는가 이러한 것들을 초반에 명확하게 설정하고 프로젝트를 진행해야 구현관점에서 무엇은 어디까지 하고말지 결정하기가 쉬워진다. 구현하는 사람이 너무 생각이 많아지면 그것 또한 고통이다. 본인이 잘 만들고 있는지에.. 더보기
실리콘(화장실, 창틀) 곰팡이 제거하는 법 전세집에 전에 살던 사람이 환기를 잘 안시켜서 그런지 창틀이나 화장실 실리콘에 곰팡이가 있음 이게 계속 내가 청소해도 완전히 없어지지 않음.... 그러다가 유툽에서 제거법을 영접 락스 + 베이킹소다 반죽으로 박살 https://www.youtube.com/watch?v=qRDR_PyQ11s 더보기