Zero to Hero
article thumbnail
125. Valid Palindrome
Algorithm 2021. 6. 8. 11:20

Valid Palindrome - 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 1. isalnum() class Solution: def isPalindrome(self, s: str) -> bool: stack = [] for char in s: if char.isalnum(): stack.append(char.lower()) if len(stack) % 2 == 1: return stack[:len(stack) // 2] == stack[len(stack)..

article thumbnail
118. Pascal's Triangle
Algorithm 2021. 6. 7. 21:37

Pascal's Triangle - 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 1. 구현 from typing import * class Solution: def generate(self, numRows: int) -> List[List[int]]: answer = [[1]] if numRows == 1: return answer elif numRows == 2: answer.append([1, 1]) return answer else: answer.appe..

article thumbnail
26. Remove Duplicates from Sorted Array
Algorithm 2021. 6. 6. 22:35

Remove Duplicates from 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 1. 선형 탐색 로직 from typing import * class Solution: def removeDuplicates(self, nums: List[int]) -> int: if not nums: return 0 saved_val, target_index = nums[0], 1 for i in range(len(nums)): if i == 0..

article thumbnail
[LINE] 라인 2021년 상반기 공채 후기(자소서, 코딩테스트, 필기테스트, 면접)
Career 2021. 6. 1. 23:56

상반기 신입 공채는 크게 Client, Server, Cloud 직군으로 나누어 모집했습니다. 이번 채용은 라인 플러스, 라인 비즈 플러스, 그리고 라인 파이낸셜 플러스의 3개 법인에서 진행되었습니다. 쉽게 생각해서 비즈, 파이낸셜 플러스는 핀테크 사업을, 그 외의 서비스(메신저, VoIP, 클라우드 등)는 라인 플러스에서 담당한다고 생각하시면 될 것 같습니다. 모든 채용 과정은 비대면, 원격으로 진행되었습니다. 그러니깐 회사나 준비된 장소에 가서 시험을 보거나 면접을 보는 등의 일이 없었습니다. 다른 회사들에 비해 굉장히 빠르게 공채를 시작했고, 한 전형이 끝나고 결과를 받는데 시간이 2~3일 정도밖에 걸리지 않았습니다. 모든 내용은 지극히 개인적인 경험 기반으로 작성되었기 때문에 참고하시는 정도로만 ..

article thumbnail
13. Roman to Integer
Algorithm 2021. 5. 31. 22:28

Roman to Integer - 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 1. 내 Trash Garbage Code class Solution: def romanToInt(self, s: str) -> int: dict1 = {'I': 1, 'V': 5, 'X': 10, 'L': 50, 'C': 100, 'D': 500, 'M': 1000} answer, index = 0, 0 while index < len(s): if s[index] == 'I' an..

21.05.31.
Diary 2021. 5. 31. 21:12

1. 퇴사 인생 첫 회사를 퇴사하게 되었다. 사람 운 하나는 좋다고 생각한다. 정말로 좋은 팀원 분들과 동기님들 덕분에 즐거웠고 많이 배웠다. 앞으로 이런 사람들과 함께 일할 수 있을까라는 생각에 굉장히 고민을 많이 했다. 2. 이직 인생 첫 이직을 하게 되었다. 운 좋게도 굉장히 도전적이고 좋은 기회가 생겼다. 잘할 수 있을까라는 걱정도 했지만 쉽게 얻을 수 없는 기회라고 생각해 선택하게 되었다. 3. 취미 업무나 공부 이외의 무언가 취미나 에너지를 쏟을 수 있는 무언가를 하나 찾아야 할 것 같다.