D36CHOI

  • 홈
  • 태그
  • 프로그래밍
  • 알고리즘

leetcode 2

[leetcode] Two City Scheduling

문제 https://leetcode.com/problems/two-city-scheduling/ Two City Scheduling - 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 내 풀이 class Solution: def twoCitySchedCost(self, costs: List[List[int]]) -> int: answer = 0 costs = sorted(costs, key = lambda x : -abs(x[0] - x[1])) n = len(c..

프로그래밍/leetcode 2022.03.25

[leetcode] Maximum Frequency Stack

문제 https://leetcode.com/problems/maximum-frequency-stack/submissions/ Maximum Frequency Stack - 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 내 풀이 import java.util.*; public class FreqStack { public class Data { public int number; public int nowCount; public int latest; public Da..

프로그래밍/leetcode 2022.03.19
1
더보기
프로필사진

만족은 하되 안주하지는 않는 사람

  • 분류 전체보기 (168)
    • 프로그래밍 (162)
      • JAVA (20)
      • programmers&bj (78)
      • leetcode (7)
      • 기억노트 (20)
      • backend&devOps (23)
      • frontend (4)
      • ETC (8)
      • Android (2)
    • 인생 (3)

Tag

java stringbuilder, 도커 명령어, c++, 파이썬 DFS, 프로그래머스, 파이썬 readline, leetcode greedy, 알고리즘, C언어, amazon sns, leetcode, 프로그래머스 C++, 파이썬 BFS, 메모이제이션, 자바 다형성, 안드로이드, 백준 알고리즘, 백준 알고리즘 C++, C++ 알고리즘, 백준 C++,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/10   »
일 월 화 수 목 금 토
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 :
Github LinkedIn

Copyright © Kakao Corp. All rights reserved.

티스토리툴바