sji

  • 홈
  • 태그
  • 방명록

string 3

72. Edit Distance

https://leetcode.com/problems/edit-distance/ Edit Distance - LeetCode 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 방향에 의미 부여하기 328 ms class Solution: def minDistance(self, word1: str, word2: str) -> int: if len(word1) == 0 or len(word2) == 0: return max(len(word1), len(word2)) dp = [] fo..

algorithm 2020.09.12

1143. Longest Common Subsequence

https://leetcode.com/problems/longest-common-subsequence/ Longest Common Subsequence - LeetCode 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 95%!!! 376ms class Solution: def longestCommonSubsequence(self, text1: str, text2: str) -> int: dp = [] for r in range(len(text1)+1): dp.append([0]..

algorithm 2020.09.10

696. Count Binary Substrings

https://leetcode.com/problems/count-binary-substrings/ Count Binary Substrings - LeetCode 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 idea: convert into [group_cnt, group_cnt, ... ] 290ms import collections class Solution: def countBinarySubstrings(self, s: str) -> int: buf = [] is_zero..

algorithm 2020.08.31
1
더보기
  • 분류 전체보기 (87)
    • intro. (0)
    • DL&ML (38)
      • concept (19)
      • papers (9)
      • code.data.tips (10)
    • http&server (7)
    • dist. system (6)
    • docker (5)
    • algorithm (24)
    • design pattern (1)
    • architecture (1)
    • trouble shooting (3)
    • better way (1)
    • problems (0)

Tag

Graph, gunicorn, Dynamic Programming, docker-compose, CrossEntropy, dp, Docker, MLE, tree, gaussian mixture, Likelihood, queue, stack, summarization, React Native, nginx, Zookeeper, string, seq2seq, flask,

최근글과 인기글

  • 최근글
  • 인기글
250x250

Calendar

«   2025/08   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Designed by Tistory.

티스토리툴바