One step

· One step
kakaobot을 만들던 중 만난 ngrok 502 Error ngrok 502 오류는 일반적으로 ngrok가 로컬 서버에 연결할 수 없을 때 발생 원인 로컬 서버가 실행되지 않음: ngrok은 로컬 서버에 연결하기 위해 사용되는데, 만약 로컬 서버가 실행되지 않거나 정상적으로 작동하지 않는 경우 포트 문제: ngrok이 연결하려는 포트가 올바르지 않거나 다른 서비스에 의해 이미 사용 중인 경우 오류가 발생할 수 있다. 네트워크 문제: 로컬 네트워크 설정이나 방화벽 설정이 ngrok의 연결을 차단하는 경우에도 발생할 수 있다. ngrok 설정 오류: ngrok 구성이 잘못되었거나 누락된 설정이 있는 경우에도 이 오류가 발생할 수 있다. 해결 방법 로컬 서버 확인: 로컬 서버가 실행 중이고 정상적으로 작동..
· One step
https://www.phpmyadmin.net/ phpMyAdmin Your download should start soon, if not please click here. Please verify the downloaded file Please take additional steps to verify that the file you have downloaded is not corrupted, you can verify it using the following methods: phpMyAdmin needs your con www.phpmyadmin.net https://story-moon.tistory.com/37 맥북(M1)에서 PHP / APACHE2 / MYSQL / phpmyadmin 설치하기...
· 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..
· 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를 얻..
· 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
· 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..
· One step
LeetCode-706 Design HashMap : Design a HashMap without using any built-in hash table libraries. note : At most 104 calls will be made to put, get, and remove.Answer :::python class ListNode: def init(self, key=None, value=None): self.key = key self.value = value self.next = None class MyHashMap: def init(self): self.size = 10**4 self.table = collections.defaultdict(ListNode) def put(self, key: i..
· One step
LeetCode-38 Count and Say : The count-and-say sequence is a sequence of digit strings defined by the recursive formula: note : To determine how you "say" a digit string, split it into the minimal number of substrings such that each substring contains exactly one unique digit. Then for each substring, say the number of digits, then say the digit. Finally, concatenate every said digit.Answer :::py..
다했다
'One step' 카테고리의 글 목록