분류 전체보기(290)
-
[C2/Writing] Typical Food Culture in Korea
Korean foods had been white. After the war in 1652, our ancestors got red chili pepper, and it was the start of enjoying spicy food. Of course, Koreans still love white foods which do not use chili peppers. Moreover, a variety of Korean foods are fermented because of the weather. If you are sensitive, you might feel uncomfortable. Side dishes: Koreans normally enjoy their foods with side dishes..
2025.09.07 -
[C2/Writing] Lonely Planet Activity
생각 없이 써서 글의 퀄리티는 굉장히 떨어지네... Recommending essential apps is impressive, especially Naver map and Kakao T. These are definitely the most useful applications to travel in Korea. Moreover, I would add one more thing: T map. If travelers plan to rent a car, I strongly recommend using T map. The other impressive thing is that travellers should be flexible about their diet. I have never know about thi..
2025.08.17 -
[LeetCode/SQL50] Confirmation rate
/* Write your T-SQL query statement below */select S.user_id, round(isnull(sum(case when action = 'confirmed' then 1 end)*1.00/count(*),0),2) as confirmation_ratefrom Signups as Sleft join Confirmations as C on S.user_id = C.user_idgroup by S.user_id;Left join 사유: right join을 하는 경우 id 6이 누락됨isnull을 통해 null값을 가진 경우 자동으로 rate 0을 반환하도록 함id를 기준으로 groupby를 함으로써 각 아이디별 confirmed 비율을 구할 수 있도록 함case..
2025.07.07 -
[TOEFL/Writing] Question 2 : Discussion of advertising charitable work
Not only should we use sad images but also we should use hapy images. First of all, using only sad images could trigger discomfort. However, as Clair mentioned, using only happy images is not enough to raise donations. As a middle ground, people should try this strategy: using sad images first in order to help people feel sorry and then using inspirational images after the donation. This story l..
2025.05.30 -
[TOEFL/Writing] Question 1 : Discuss Communal Online Encyclopedias
First WritingThe writer and the lecturer talked about communal online encyclopedias (COEs). The writer talked about the problems of COEs and the lecturer talked about the benefits.First, the writer mentioned that contributors on COEs are sometimes nonspecialists. They lack academic credentials, and for this reason, they can write inaccurate information. However, the lecturer argued that traditio..
2025.05.26 -
[TOEFL/Writing] Question 1 : Sea otter
The writer and the lecturer argued about sea otter populations problems. The writer mentioned sea otter populations are declining because of pollution, and the lecturer has a different interpretation of the writer's evidence. First, the writer said that pollution like oil rigs and industrial chemicals are a cause of the declining sea otter populations. Consequently, pollution makes sea otters h..
2025.05.24 -
[30 Days of JS] Interval Cancellation / Promise Time Limit
/** * @param {Function} fn * @param {Array} args * @param {number} t * @return {Function} */var cancellable = function(fn, args, t) { fn(...args); const intervalId = setInterval(() => { fn(...args); }, t); return () => clearInterval(intervalId);};/** * const result = []; * * const fn = (x) => x * 2; * const args = [4], t = 35, cancelTimeMs = 190; * * const start = performance.now(); *..
2025.05.18 -
[30 Days of JS] Sleep / Timeout Cancellation
/** * @param {number} millis * @return {Promise} */async function sleep(millis) { return new Promise(resolve => setTimeout(resolve, millis));}setTimeout : makes delay(callback, delayTime) : callback - 딜레이 후 실행시킬 함수 / delayTime - 얼마나 딜레이 시킬 것인가/** * @param {Function} fn * @param {Array} args * @param {number} t * @return {Function} */var cancellable = function(fn, args, t) { const timeoutId..
2025.05.15 -
[Github] CLI로 Push 하기
VSCode 터미널 열기 : ctrl + `Branch 없이 Main에서 Push 하는 경우git add .git commit -m "Your descriptive commit message"git push origin main
2025.05.15 -
[30 Days of JS] Memoize / Add two promises
/** * @param {Function} fn * @return {Function} */function memoize(fn) { const cache = new Map(); return function (...args) { const key = JSON.stringify(args); if (cache.has(key)) { return cache.get(key); } const result = fn(...args); cache.set(key, result); return result; };}Map()input으로 들어온 것들을 pair로 만들어서 순서대로 기억하도록 만들어 줌JSON.string..
2025.05.14