일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
- Python
- leetcode
- backtracking
- math
- linked list
- Depth-first Search
- recursive
- 미디움
- easy
- 리트코드
- 쉬움
- 재귀
- binary search
- hash table
- tree
- HashTable
- 이진트리
- binary tree
- DP
- Array
- two pointers
- Medium
- matrix
- Binary
- list
- dfs
- string
- 문자열
- sorting
- 중간
- Today
- Total
목록2024/03 (20)
부부의 코딩 성장 일기
1. 문제 링크 https://leetcode.com/problems/move-zeroes/description/ Move Zeroes - LeetCode Can you solve this real interview question? Move Zeroes - 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 2. 문제 설명 정수로 구성된 array nums가 있을 때, 값이 0인 elements를 뒤로 옮기기. (그 외의 elements들은 상대적 순서를 유지해야 한다.) 여기서 ..

1. 문제 링크 https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/description/ LeetCode - The World's Leading Online Programming Learning Platform 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 2. 문제 설명 아래 형태의 binary tree가 주어졌을 때 struct Node { int val; Node *left; Node ..
코루틴이란? 파이썬은 기본적으로 동기적인 프로그래밍 스타일을 채택하고 있다. 그래서, 기본적인 함수 호출 및 코드 실행은 순차적으로 진행이 되며, 한 작업이 끝나야 다음 작업이 수행된다. 이를 동기 프로그래밍이라고 한다. 반대로 비동기의 경우, 여러 작업을 동시에 수행할 수 있게 하는 프로그래밍 스타일이다. 이는 특히 I/O 작업이나, 네트워크 통신과 같은 지연이 발생하는 작업들을 효율적으로 다루는데 유용하다. 파이썬에서 코루틴은, 비동기 프로그래밍을 지원하는 기능 중 하나라고 보면 된다. 함수의 실행을 일시 중단하고, 나중에 재개할 수 있는 함수이며, 이를 통해 여러 작업ㅇ르 동시에 수행하는 데 유용하고, 비동기 코드를 쉽게 작성할 수 있다. 코루틴을 정의하는 방법은 함수 정의와 유사하지만, 함수를 호..
1. 문제 링크 https://leetcode.com/problems/missing-number/description/ LeetCode - The World's Leading Online Programming Learning Platform 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 2. 문제 설명 range[0,n] 사이의 숫자를 중복없이 포함하고 있는 nums라는 array가 주어졌을 때, range[0,n] 범위 해당 array에 빠진 숫자가 1개 있다고 할 때, 그 ..