일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- kaggle
- 715. Range Module
- Python Code
- 315. Count of Smaller Numbers After Self
- Convert Sorted List to Binary Search Tree
- Decorator
- Substring with Concatenation of All Words
- 밴픽
- concurrency
- Python Implementation
- t1
- 파이썬
- 43. Multiply Strings
- 프로그래머스
- LeetCode
- DWG
- Protocol
- iterator
- attribute
- 시바견
- shiba
- Regular Expression
- 30. Substring with Concatenation of All Words
- 109. Convert Sorted List to Binary Search Tree
- 운영체제
- Class
- 컴퓨터의 구조
- Generator
- data science
- Python
Archives
- Today
- Total
목록384. Shuffle an Array (1)
Scribbling
LeetCode: 384. Shuffle an Array
Refer to the below post for Knuth Shuffle. https://focalpoint.tistory.com/253 Shuffle Algorithm: Knuth Shuffle This post is about Knuth Shuffle, a shuffle algorithm. - This algorithm allows random shuffle, giving all permuations of array equal likelihood. - No need for additional arrays, so memory complexity.. focalpoint.tistory.com class Solution: def __init__(self, nums: List[int]): self.nums ..
Computer Science/Coding Test
2022. 1. 15. 23:02