본문 바로가기

Coding 공부기록

(15)
[SQL] Leetcode easy 문제 뿌시기 21/10/26 9:11PM - 11:11PM 2시간동안 최대한 풀기 1. #1084. Sales Analysis III Product: product_id | product_name | unit_price Sales: seller_id | product_id | buyer_id | sale_date | quantity | price Write an SQL query that reports the products that were only sold in the spring of 2019. That is, between 2019-01-01 and 2019-03-31 inclusive. Return the result table in any order. SELECT product_id, product_nam..
[Product Sense] 채용공고를 기반으로 공부하기(1) - 토스(Toss) Data analyst Product sense 인터뷰를 준비하는 과정에서 나의 답변이 실무적인 관점에서 매우 모호하고 뜬구름 잡는 소리라는 생각이 들었다. 가장 좋은 방법은 실무에서 그들이 어떤식으로 문제를 해결해나가는지를 관찰하는 것이라고 생각하여, Data analyst 직군의 채용공고를 살펴보기로 한다. 첫 번째 기업은 대한민국에서 1800만 가입자를 보유하고 있는 핀테크 기업인 토스이다. 토스는 데이터를 기반으로 의사결정을 내릴 수 있도록 많은 노력을 기울이고 있으며, 내가 현재 준비하고 있는 Data Analyst에 대한 채용공고도 업로드 되어있다. Toss Data Analyst (Global) : https://toss.im/career/job-detail?job_id=4571130003 원하는 업무 역량: 1)..
[SQL edge case] 문제를 정확하게 파악하기 Questions from leetcode 1. Customers placing the largest number of orders => 단순하게 MAX(order_number)라고 했는데 여기서 order_number는 주문번호이기에 크기 비교용이 아님. 따라서 각 customer마다 몇 건의 order record가 있는지를 count해서 그 빈도가 가장 큰 사람의 customer_id를 제시해야함. SELECT customer_number FROM orders GROUP BY customer_number ORDER BY COUNT(*) DESC LIMIT 1; SELECT customer_number FROM orders GROUP BY customer_number HAVING COUNT(custo..
[D-11] things to improve 1. General Information 1) Why Facebook (Epidemiologyist -> Data Scientist) - 1분 분량으로 내가 왜 이 회사, 이 포지션에 지원했는지 준비하기 2) What prior experience that you work as a team - 인간적인 느낌을 줄 수 있는 사적인 경험을 얘기하기 3) What is your biggest contribution to the team - 박사 과정중에서 메인으로 했던 연구 토픽을 소개하고, 그 중에서 가장 성과가 좋았던 프로젝트 하나를 예시로 들기 2. Product analysis 1) 새로운 서비스 런칭시 고려할 점 - 왜 이런 서비스가 있어야하는지 (WHY) - 왜 이 방법/포맷으로 해야하는지 (HOW..
[Metric Change] increased click on a search result 10/20(수) Lauren과의 인터뷰연습 Q1. You notice that the number of users that clicked on a search result about a FB event increased 10% week-over-week. How would you investigate? How do you decide if this is a good thing or a bad thing? Q2. You notice that the percentage of users that clicked on a search result about a Facebook Event increased 10% week-over-week. How would you investigate? delve into wit..
[LC] Data Structure Day1: contains duplicate 10/7 1:03 AM 잘 이해가 안되더라도 하루에 한개씩은 꼭 올리고 자야지. Day 1. Array #217. Contains Duplicate class Solution: def containsDuplicate(self, nums: List[int]) -> bool: nums.sort() return any([nums[i] == nums[i+1] for i in range(len(nums)-1)]) 순서대로 숫자들을 나열시킨다음 nums[i]하고 nums[i+1]번째가 중복일 경우를 출력해라. #53. Maximum Subarray Find the contiguous subarray (containing at least one number) which has the largest sum and re..
First coding challenge 소감 2022 Twitter Internship Coding Challenge (Engineering)는 HackerRank를 통해 이뤄졌다. 5일내로 완성하라고 해서 가장 먼저 보게 된 코딩테스트였는데, 전형적인 코딩테스트 환경이었다고 생각한다. (검색금지, autocomplete기능 없음) 장렬하게 전사하였기 때문에 긴말을 남길 것도 없지만, 오늘 한시간의 경험으로 다음에 더 잘하기 위해 몇 자 적어본다. 1. 내가 계속적으로 data science쪽으로 지원할 거라면 leetcode 코딩문제를 정말 열심히 풀어야 겠다. 코딩테스트가 처음이다보니 문제를 이해하는데에도 시간이 많이 걸렸고, 함수를 만들어서 값을 구하는 것이 연습되지 않아서 쉬운 것 같은 문제도 제대로 풀지 못했다. 수능 공부할 때 유형연습없..