DB varchar(1) vs boolean, varchar(14) vs timestamp 에 관한 고찰
1. 개요 제가 속한 회사 조직에서는 postgresql을 기본 rdbms로 채택해서 사용하고 있고, boolean 또는 timestamp 형식의 컬럼들을 아래와 같은 방식으로 사용하고 있어요. boolean 값 표현 -> varchar(1) varchar(1) default 'Y' not null ‘Y’ ...
1. 개요 제가 속한 회사 조직에서는 postgresql을 기본 rdbms로 채택해서 사용하고 있고, boolean 또는 timestamp 형식의 컬럼들을 아래와 같은 방식으로 사용하고 있어요. boolean 값 표현 -> varchar(1) varchar(1) default 'Y' not null ‘Y’ ...
문제 Given an array nums of size n, return the majority element. The majority element is the element that appears more than ⌊n / 2⌋ times. You may assume that the majority element always exists in ...
문제 Given an integer array nums sorted in non-decreasing order, remove some duplicates in-place such that each unique element appears at most twice. The relative order of the elements should be kep...
문제 Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once. The relative order of the elements should be kept the...
개요 회사 동료분께 추천받아 읽게 된 책이에요. 생각보다 너무나 많은 양질의 내용들이 들어있어서 너무 좋았어요. 커뮤니케이션 스킬, 좋은 매니징 방법 등 조직 문화와 사회생활부터 코드 스타일, 코드 리뷰, 좋은 테스트 코드, 문서화 등 디테일한 업무 스킬까지.. 읽으면서 배울 점도 많았지만 스스로 생각해볼 거리도 너무나 많이 던져주는 책이었어요. 몇...
사내 독서 동아리를 통해 알게된 책이에요. 130페이지 정도 되는 짧은 소설로.. 왠지 모르게 여운이 많이 남는 책이네요. 작가 분이 노벨 문학상을 수상하신 분이라고 들었어요. 이 책은… 읽는 사람의 당시 감정상황이나, 분위기 등에 따라 다르게 읽힐 수 있을 것 같기도 해요. 혹은, 이 책에서 나타내고자 하는 분위기나 감정이 증폭될 수 있는 독자의 ...
문제 Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The order of the elements may be changed. Then return the number of elements in nums which are no...
개요 ” API 명세서 작성 완료되면 공유드릴게요. 감사합니다. “ ” API 명세서 공유드립니다. 검토 및 의견 부탁드립니다. 감사합니다. “ 회사에서 가장 많이 보거나, 듣거나, 하는 말.. 까지는 아니더라도 업무를 진행할 때 필수적으로 해야 했고, 들어야 했던 말이에요. 당연히 여기서 API의 의미는.. url이 포함된, HTTP를 사용하는,...
개요 사내 인프라 팀 덕분에 많은 자동화 처리가 되어 있어서, 쿠버네티스를 너무나도 쉽고 간편하게 web ui를 통해 쓸 수 있었어요. 작동방식이나 원리, 설정파일 등에 대해서 전혀 몰라도 10분이면 deployment, service, ingress를 설정해서 spring boot 앱을 replica 여러 개 띄우고 도메인을 연결해둘 수 있죠. ...
Problem You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and nums2 respectively. Merge nums...