728x90 반응형 hash7 Swift ) 프로그래머스(Lv2) - [1차] 캐시 (Hash) programmers.co.kr/learn/courses/30/lessons/17680 코딩테스트 연습 - [1차] 캐시 3 [Jeju, Pangyo, Seoul, NewYork, LA, Jeju, Pangyo, Seoul, NewYork, LA] 50 3 [Jeju, Pangyo, Seoul, Jeju, Pangyo, Seoul, Jeju, Pangyo, Seoul] 21 2 [Jeju, Pangyo, Seoul, NewYork, LA, SanFrancisco, Seoul, Rome, Paris, Jeju, NewYork, Rome] 60 5 [Jeju, Pangyo, S programmers.co.kr 안녕하세요 후르륵 짭짭 입니다. 이번에도 카카오 블라인드 채용 문제를 다뤄보도록 하겠습니다. 처음에.. 2020. 9. 7. Swift ) LeetCode(Easy) - Walking Robot Simulation (Hash) leetcode.com/problems/walking-robot-simulation/ Walking Robot Simulation - 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 안녕하세요 후르륵짭짭 입니다. 일단 아주 개 고생한 문제 입니다 ㅎㅎㅎㅎㅎ 시뮬레이션 문제인데,, 단순하게 시뮬레이션으로 접근하면 코가 박살나는 ㅎㅎㅎ 일단 어렵습니다 ㅎㅎㅎ 예외처리 할게 많아서 ㅎㅎㅎ 또 단순이 완전 탐색을 하면 시간 초과가 생겨서 Hash를 써야합니다. ** 문제.. 2020. 9. 1. Swift) LeetCode(Easy) - Word-Pattern (Hash&String) leetcode.com/problems/word-pattern/ Word Pattern - 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 : 1 대칭 ( bijection.. 2020. 8. 20. 이전 1 2 다음 728x90 반응형