본문으로 바로가기

Sohyxxnz Tech Blog

현재위치 :: HOME BLOG CATEGORY SEARCH ARCHIVE TAGS MEDIA LOCATION GUESTBOOK

네비게이션

  • 홈
  • 태그
  • 방명록
관리자
  • 블로그 이미지
    sohyxxnz

    링크추가
  • 글쓰기
  • 환경설정
  • 로그인
  • 로그아웃

전체 글 검색 결과

해당 글 11건

[Python3] 412. Fizz Buzz

[412. Fizz Buzz] (https://leetcode.com/problems/fizz-buzz/) if a basic solution with if class Solution: def fizzBuzz(self, n: int) -> List[str]: list = [] for i in range(1, n+1): if i%15==0: list.append("FizzBuzz") elif i%5==0: list.append("Buzz") elif i%3==0: list.append("Fizz") else: list.append(str(i)) return list list comprehension make each conditions as a flag with true or false. class Sol..

Algorithm/LeetCode 2022. 8. 26. 21:38

[Python3] 1672. Richest Customer Wealth

[1672. Richest Customer Wealth] (https://leetcode.com/problems/richest-customer-wealth/) for loop a basic solution with for loop and max function class Solution: def maximumWealth(self, accounts: List[List[int]]) -> int: max_wealth = 0 for account in accounts: curr_customer_wealth = sum(account) max_wealth = max(curr_customer_wealth, max_wealth) return max_wealth map a solution with [map()] (htt..

Algorithm/LeetCode 2022. 8. 25. 22:54

[built-in] map()

Built-in Functions The Python interpreter has a number of functions and types built into it that are always available. They are listed [here](https://docs.python.org/3/library/functions.html#built-in-functions) in alphabetical order. map() Return an iterator that applies function to every item of iterable, yielding the results. If additional iterable arguments are passed, function must take that..

Programming Language/Python 2022. 8. 25. 22:45
  • 이전
  • 1
  • 2
  • 3
  • 4
  • 다음

사이드바

NOTICE

  • 전체 보기
MORE+

CATEGORY

  • 분류 전체보기 (11)
    • Linux (0)
      • Kubernetes (0)
    • Programming Language (2)
      • Python (2)
    • Algorithm (4)
      • LeetCode (3)
    • Database (2)
      • SQL (0)
      • MySQL (2)
    • Network (1)
    • Certificates (1)
      • Testing (1)
    • Life (1)
      • Tips (1)

RECENTLY

  • 최근 글
  • 최근 댓글

최근 글

최근댓글

Trackback

TAG

  • itertools
  • 프로토콜3요소
  • 추상적자료형
  • map()
  • 프로토콜구성요소
  • leetcode
  • mysql오류해결
  • mysqlgroupby
  • Java
  • MySQL
  • mysqlerror1055
  • python3
  • listslicing
  • sw테스팅자격증
  • mysql오류
MORE+

ARCHIVE

CALENDAR

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

LINK

  • [모바일] 일기&리뷰&영어
  • [GitHub] 코드저장소

VISITOR

오늘
어제
전체
  • 홈으로
  • 방명록
  • 로그인
  • 로그아웃
  • 맨위로
SKIN BY COPYCATZ COPYRIGHT Sohyxxnz Tech Blog, ALL RIGHT RESERVED.
Sohyxxnz Tech Blog
블로그 이미지 sohyxxnz 님의 블로그
MENU
  • 홈
  • 태그
  • 방명록
CATEGORY
  • 분류 전체보기 (11)
    • Linux (0)
      • Kubernetes (0)
    • Programming Language (2)
      • Python (2)
    • Algorithm (4)
      • LeetCode (3)
    • Database (2)
      • SQL (0)
      • MySQL (2)
    • Network (1)
    • Certificates (1)
      • Testing (1)
    • Life (1)
      • Tips (1)
VISITOR 오늘 / 전체
  • 글쓰기
  • 환경설정
  • 로그인
  • 로그아웃
  • 취소

검색

티스토리툴바