본문 바로가기 메뉴 바로가기


데일리디벨롭

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

데일리디벨롭

검색하기 폼
  • 분류 전체보기 (233)
    • Kotlin (11)
    • Spring (55)
    • Apache Kafka (3)
    • JPA (4)
    • MySQL (14)
    • Docker (2)
    • HTTP (2)
    • 문제해결 (2)
    • 알고리즘 (84)
    • Study (25)
    • ETC (2)
    • Book (26)
      • Kotlin In Action (1)
      • Clean Code (6)
      • 실용주의 프로그래머 (13)
      • 좋은 코드, 나쁜 코드 (6)
    • 회고 (3)
  • 방명록

leetcode (12)
[algorithm] leetcode 344 - reverse-string (파이썬)

문제 문자열을뒤집는함수를작성하라 입력값은문자배열이며, 리턴 없이 리스트내부를 직접조작하라 leetcode 344 - reverse-string 코드 class Solution: def reverseString(self, s: List[str]) -> None: left, right = 0, len(s) - 1 while left < right: s[left], s[right] = s[right], s[left] left += 1 right -= 1

알고리즘 2022. 3. 10. 13:13
[algorithm] leetcode 561 - Array Partition I (파이썬)

문제 n개의 페어를 이용한 min(a, b)의 합으로 만들 수 있는 가장 큰 수를 출력하라. leetcode 561 - Array Partition I 코드 class Solution: def arrayPairSum(self, nums: List[int]) -> int: return sum(sorted(nums)[::2])

알고리즘 2022. 3. 9. 12:25
이전 1 2 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • MySQL
  • 구현
  • Real MySQL
  • webflux
  • 리팩토링
  • 자료구조
  • 파이썬
  • mysql 8.0
  • 백준
  • 김영한
  • 노마드
  • Algorithm
  • 데이터베이스
  • kotlin
  • 릿코드
  • leetcode
  • 인프런
  • Spring
  • 스프링 부트
  • 코테
  • 그리디
  • 스프링부트
  • 북클럽
  • 스프링
  • 노마드코더
  • 정렬
  • 알고리즘
  • 문자열
  • spring boot
  • 코틀린
more
«   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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바