오랜만에 블로그를 수정했다.
수정을 하게 된 이유는 버그(?)를 제보받게 되어서 하게 되었다.
19.10.12일에 블로그에 Buy me Coffee 서비스를 추가했다.
해당 서비스는 커피 한 잔 정도를 감사의 마음으로 전달할 수 있는 간편 이체 서비스이다.
사실 저걸 붙였던 이유는 그냥 재밌어 보여서 붙였고
누가 나에게 커피를 보내주겠어? 라는 생각으로 기억 속에서 잊고 지내다
우연치 않게 블로그 방문자분을 실제로 만나게 되었는데
그 분께서 저 서비스를 이용해서 마음을 전달하고 싶었는데
한국에서는 지원이 안 된다는 이야기를 들었다. (띠용)
그래서 어차피 내 블로그의 방문자는 대부분 한국인이니
이참에 Buy me Coffee 대신 카카오페이 QR 코드를 넣기로 했다. 😀
Given an array of integers heights representing the histogram's bar height where the width of each bar is 1, return the area of the largest rectangle in the histogram.
AWS S3 서비스를 사용하여 정적 파일을 업로드 시
외부에서도 해당 파일에 대해 접근이 필요할 때도 있다.
이 글에서는 어떻게 Public Access 할 수 있는지 알아보자.
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You must write an algorithm with O(log n) runtime complexity.
You are given an array of k linked-lists lists, each linked-list is sorted in ascending order.
Merge all the linked-lists into one sorted linked-list and return it.
Write an algorithm to determine if a number n is happy.
A happy number is a number defined by the following process:
Starting with any positive integer, replace the number by the sum of the squares of its digits.
Repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1.
Those numbers for which this process ends in 1 are happy.
Return true if n is a happy number, and false if not.