전체 글
-
[부스트캠프 웹모바일 6기] 챌린지 수료 후기프로그래밍/부스트캠프 2021. 8. 22. 01:38
4주차후기는 지난 3주차 후기에서 덧붙여서 작성하려한다. 1. 매일 밤새워가며 과제를 해서 잠을 별로 못잤다. 점심먹고 졸렸던 것만 빼면 좋은 경험을 했다고 생각한다. 평생 이렇게 모든일에 대해서 밤새워가면서 할 수 있는게 아니기 때문에 시간관리를 더 제대로 했어야 했다고 생각이 들었다. + 그동안 시간 관리 방법을 잘못하고 있던 것 같았다. 내가 남은 시간에 무엇을 할 수 있고 할 수 없는지 선택을 해야한다. 이것은 당연한 말이지만, 나는 이 선택하는 것을 잘 못하는 것 같다. 시간이 많다고 여겨지는 미션 공개 초반에는 이 과정이 잘 이루어지지 않았다. 자신이 얼마나 더 할 수 있는지 정확한 판단을 내리는 것은 쉽지 않은 것 같다. 2. 모두가 정말 최선을 다하려는 분위기였다. 열정적인 분위기 속에서 ..
-
[부스트캠프 웹모바일 6기] 챌린지 3주차 후기프로그래밍/부스트캠프 2021. 8. 8. 00:58
1. 매일 밤새워가며 과제를 해서 잠을 별로 못잤다. 점심먹고 졸렸던 것만 빼면 좋은 경험을 했다고 생각한다. 평생 이렇게 모든일에 대해서 밤새워가면서 할 수 있는게 아니기 때문에 시간관리를 더 제대로 했어야 했다고 생각이 들었다. 2. 모두가 정말 최선을 다하려는 분위기였다. 열정적인 분위기 속에서 같이 공부할 수 있어서 좋았다. 멋진 사람들 속에서 같은 주제로 공부하는 것을 반복하는데, 어떤분은 어떻게 했고 다른분은 어떻게 했는지 부담없이 결과물을 보거나 물어볼 수 있는것이 좋았다. 이건 더 부연설명할게 없는 것 같다. 3. cs학습 외적으로 느낀점도 많다. 매일 아침에 있는 피어세션 때 서로 발표를 한다. 이때 서로가 문제를 어떻게 해결했는지 이야기를 한다. 어떻게 해결했는지 보거나 설명을 하면서 ..
-
Xcode would like to access files in your desktop folder..가 계속 뜰 때프로그래밍/Xcode 2021. 7. 29. 19:11
상황: 프로젝트 파일은 Desktop 경로에 있음. 프로젝트는 Command Line을 사용하고 있음. 프로젝트에서 FileManager를 이용해서 파일 입출력을 하고 있음. 증상: 프로젝트 돌려볼때마다 "프로젝트이름" would like to access files in your desktop folder 라는 팝업이 뜨는데, 확인 누르면 그대로 실행은 되는데, 디버깅 종료후 다시 실행할때, 파일 입출력 부분 파일을 또다시 수정하게 될 때마다 또 팝업창이 뜸 이게 설정>보안 및 개인 정보 보호>전체 디스크 접근 권한>Xcode에서 체크해줘도 계속 뜸 해결: Desktop에 있는 프로젝트 파일을 User/계정명/ 이쪽에 폴더를 새로 만들고 거기서 실행하면 됨
-
Github Gist 사용하기미분류 2021. 7. 18. 11:52
1. Gist: 요지(골자) Github Gist에서 코드나 메모같은 것(MD)을 저장할 수 있다. 그리고 secret, public으로 공개범위를 설정할 수도 있다. 단, secret에서도 작성한 gist의 url주소를 알고 있으면 외부에서 접근할 수 있다 https://gist.github.com/ Discover gists GitHub Gist: instantly share code, notes, and snippets. gist.github.com 여기로 들어가면 무료로 시작할 수 있다. 2. 빨간색 박스안에 "파일이름.확장자" 라고 적는데 확장자를 소스코드확장자(cpp, swift 등)으로 하면 그 소스코드로 보이게 되고 .md로 적어두면 md문법에 맞춰서 사용이 가능하다. 물론 md내부에 소스..
-
[부스트캠프 웹모바일 6기] 챌린지 합격 후기프로그래밍/부스트캠프 2021. 7. 14. 22:35
1. 서류 접수와 총 2번의 코딩테스트를 거쳐서 결과가 나온다. 응시환경에 제한을 두지않는 카카오 코딩테스트랑 다르게 많은 제약사항이 있었다. 화상 감독하는 시험은 처음이기도하고, 특히 평소에 귀마개나 이어폰을 끼고 공부하는데 전부 착용 금지라 긴장했는데 다행히 합격했다. 2. 1차 2차 모두 문제에 대해서는 보안유지 서약이 있어 자세한 언급은 할 수 없다. 전반적으로 카카오 블라인드 문제들보다는 쉬운 편이긴하고 나는 특히 시간관리가 좀 필요했다. 대신에 준비 과정에 대해서 후기를 말하자면, 프로그래머스 문제도 많이 도움되었지만(외부 IDE없이 코딩하는 연습 등) Level3부터는 뭔가 좀 아닌거같아서 LeetCode 문제 푸는 방향으로 돌렸는데, 좋은 선택이었던 것 같다. 특히 문제의 Follow up..
-
[LeetCode] 19. Remove Nth Node From End of List / Swift프로그래밍/코딩테스트 2021. 7. 6. 20:26
[문제 보기] 더보기 Given the head of a linked list, remove the nth node from the end of the list and return its head. Example 1: Input: head = [1,2,3,4,5], n = 2 Output: [1,2,3,5] Example 2: Input: head = [1], n = 1 Output: [] Example 3: Input: head = [1,2], n = 1 Output: [1] Constraints: The number of nodes in the list is sz. 1
-
[LeetCode] 17. Letter Combinations of a Phone Number / Swift프로그래밍/코딩테스트 2021. 7. 6. 15:24
[문제 보기] 더보기 Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any order. A mapping of digit to letters (just like on the telephone buttons) is given below. Note that 1 does not map to any letters. Example 1: Input: digits = "23" Output: ["ad","ae","af","bd","be","bf","cd","ce","cf"] Example 2: Input:..
-
[LeetCode] 15. 3Sum / Swift프로그래밍/코딩테스트 2021. 7. 2. 01:54
[문제 보기] 더보기 Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0. Notice that the solution set must not contain duplicate triplets. Example 1: Input: nums = [-1,0,1,2,-1,-4] Output: [[-1,-1,2],[-1,0,1]] Example 2: Input: nums = [] Output: [] Example 3: Input: nums = [0] Output: [] Constraints: ..
-
[LeetCode] 11. Container With Most Water / Swift프로그래밍/코딩테스트 2021. 7. 1. 21:29
[문제 보기] 더보기 Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of the line i is at (i, ai) and (i, 0). Find two lines, which, together with the x-axis forms a container, such that the container contains the most water. Notice that you may not slant the container. Example 1: Input: height = [1..
-
[LeetCode] 5. Longest Palindromic Substring / Swift프로그래밍/코딩테스트 2021. 7. 1. 15:29
[문제 보기] 더보기 Given a string s, return the longest palindromic substring in s. Example 1: Input: s = "babad" Output: "bab" Note: "aba" is also a valid answer. Example 2: Input: s = "cbbd" Output: "bb" Example 3: Input: s = "a" Output: "a" Example 4: Input: s = "ac" Output: "a" Constraints: 1
-
[LeetCode] 3. Longest Substring Without Repeating Characters / Swift프로그래밍/코딩테스트 2021. 6. 30. 19:29
[문제 보기] 더보기 Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: Input: s = "bbbbb" Output: 1 Explanation: The answer is "b", with the length of 1. Example 3: Input: s = "pwwkew" Output: 3 Explanation: The answer is "wke", with the length of 3. Notice ..
-
[LeetCode] 2. Add Two Numbers / Swift프로그래밍/코딩테스트 2021. 6. 29. 19:34
[문제 보기] 더보기 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list. You may assume the two numbers do not contain any leading zero, except the number 0 itself. Example 1: Input: l1 = [2,4,3], l2 = [5,6,4] Output: [7,0,8] Explan..
-
[LeetCode] 543. Diameter of Binary Tree / Swift프로그래밍/코딩테스트 2021. 6. 29. 16:28
[문제 보기] 더보기 Given the root of a binary tree, return the length of the diameter of the tree. The diameter of a binary tree is the length of the longest path between any two nodes in a tree. This path may or may not pass through the root. The length of a path between two nodes is represented by the number of edges between them. Example 1: Input: root = [1,2,3,4,5] Output: 3 Explanation: 3is the le..
-
[LeetCode] 1047. Remove All Adjacent Duplicates In String / Swift프로그래밍/코딩테스트 2021. 6. 29. 15:47
[문제 보기] 더보기 You are given a string s consisting of lowercase English letters. A duplicate removal consists of choosing two adjacent and equal letters and removing them. We repeatedly make duplicate removals on s until we no longer can. Return the final string after all such duplicate removals have been made. It can be proven that the answer is unique. Example 1: Input: s = "abbaca" Output: "ca" ..