본문 바로가기

코기판

검색하기
코기판
프로필사진 신코기

  • 분류 전체보기 (12)
    • Infra (7)
    • Javascript (1)
    • journal (2)
    • Problem Solving (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
Tags
  • 우울 #trouble
  • k8s
  • kubernetes #k8s #autoscaling #hpa #vpa #infra #microservice
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Problem Solving (2)

코기판

[Leet Code] Running Sum of 1D Array

Problem : https://leetcode.com/problems/running-sum-of-1d-array/ Running Sum of 1d Array - 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 My solution : class Solution: def runningSum(self, A): ans = [A[0]] * len(A) for idx in range(1, len(A)): ans[idx] = ans[idx - 1] + A[idx] retu..

Problem Solving 2022. 6. 26. 23:25
[Leet Code] Transpose Matrix

Problem Link : https://leetcode.com/problems/transpose-matrix/ Transpose Matrix - 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 My Solution : class Solution: def transpose(self, matrix: List[List[int]]) -> List[List[int]]: m = len(matrix) n = len(matrix[0]) new_mat = [] for y_idx..

Problem Solving 2022. 6. 26. 22:34
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바