[leetcode-36] Valid Sudoku
ยท
๐Ÿข One step
LeetCode-36 Valid Sudoku : A Sudoku board (partially filled) could be valid but is not necessarily solvable. note : Only the filled cells need to be validated according to the mentioned rules.Answer :::python class Solution: def isValidSudoku(self, board: List[List[str]]) -> bool: def valid_row(i, j, row): if row==1: item = board[i] else: item = [board[n][j] for n in range(0,9)] p = [] box = [bo..
[์„œ์šธ์‹œ ์—ด๋ฆฐ๋ฐ์ดํ„ฐ] ๋Ÿฌ์‹œ์•„์›Œ ํ”ผํ•˜๊ธฐ
ยท
๐Ÿƒ Routine
์„œ์šธ์‹œ ์—ด๋ฆฐ๋ฐ์ดํ„ฐ ๊ด‘์žฅ API ํ™œ์šฉ 1. ์„œ์šธ๊ตํ†ต๊ณต์‚ฌ ์—ญ๋ณ„ ํ˜ผ์žก๋„ ํ˜„ํ™ฉ ์—ด๋ฆฐ๋ฐ์ดํ„ฐ๊ด‘์žฅ ๋ฉ”์ธ ๋ฐ์ดํ„ฐ๋ถ„๋ฅ˜,๋ฐ์ดํ„ฐ๊ฒ€์ƒ‰,๋ฐ์ดํ„ฐํ™œ์šฉ data.seoul.go.kr 2. ์„œ์šธ์‹œ ์ง€ํ•˜์ฒ ํ˜ธ์„ ๋ณ„ ์—ญ๋ณ„ ์Šนํ•˜์ฐจ ์ธ์› ์ •๋ณด ์—ด๋ฆฐ๋ฐ์ดํ„ฐ๊ด‘์žฅ ๋ฉ”์ธ ๋ฐ์ดํ„ฐ๋ถ„๋ฅ˜,๋ฐ์ดํ„ฐ๊ฒ€์ƒ‰,๋ฐ์ดํ„ฐํ™œ์šฉ data.seoul.go.kr Rush Hour 7์‹œ - 8์‹œ ๋ฐ˜ Go 6์‹œ - 7์‹œ 8์‹œ ๋ฐ˜ - 9์‹œ
small scale text data classification
ยท
๐Ÿ—ฃ๏ธ Natural Language Processing
Small scale dataset text classification [Data imbalanced] Dealing with Data Imbalance in Text Classification Author links open overlay panel https://www.sciencedirect.com/science/article/pii/S1877050919314152 [Augment Data] Improving Short Text Classification With Augmented Data Using GPT-3 https://arxiv.org/abs/2205.10981 [Small Text Classification] Extremely Small BERT Models from Mixed-Vocabu..
[leetcode-242] Valid Anagram
ยท
๐Ÿข One step
LeetCode-242 Valid Anagram : info note : subthe two strings contain the same letters, but the order of the letters may be different. :::python class Solution: def isAnagram(self, s: str, t: str) -> bool: if len(s)!=len(t): return False for i in s: if i not in t: return False else: t = t.replace(i,'',1) return True Result : 59ms Memory: 16.8mb ๋ฌธ์ œ ์ดํ•ด ์ฃผ์–ด์ง„ ๋ฌธ์ž์—ด s์™€ t๊ฐ€ ์ฃผ์–ด์กŒ์„ ๋•Œ, s์˜ ๋ฌธ์ž๋ฅผ ์žฌ๋ฐฐ์—ดํ•˜์—ฌ t๋ฅผ ์–ป..
[leetcode-217] Contains Duplicate
ยท
๐Ÿข One step
LeetCode-217 Contains Duplicate : Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct. note : 1
How to LeetCode effectively
ยท
๐Ÿข One step
https://neetcode.io/roadmap NeetCode.io neetcode.io Quality > Quantity Just Know Most Importance Concept 1. Array & Hashing Problems Contains Duplicate Valid Anagram Two Sum Group Anagrams Top K Frequent Elements Product of Array Except Self Valid Sudoku Encode and Decode Strings Longest Consecutive Sequence 2-1. Two Pointers Problems Valid Palindrome Two Sum II Input Array Is Sorted 3Sum Contai..
๋‹คํ–ˆ๋‹ค
B's