뉴비뉴
-
1464. Maximum Product of Two Elements in an Array [배열, 정렬, Heap (Priority Queue)]
설명 정수들의 배열이 주어지면, 당신은 배열의 서로 다른 두 지수 i와 j를 선택할 것이다. (nums[i]-1)*(nums[j]-1)의 최대값을 반환하라. https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array/입력, 출력Example 1:Input: nums = [3,4,5,2]Output: 12 Explanation: If you choose the indices i=1 and j=2 (indexed from 0), you will get the maximum value, that is, (nums[1]-1)*(nums[2]-1) = (4-1)*(5-1) = 3*4 = 12. Example 2:Input: nums = [..
Algorithm/LeetCode
2024. 8. 16.
-
Django Celery, Rabbitmq 사용한 비동기 작업 처리
안녕하세요.Rabbitmq 와 Celery 를 사용해서 프로젝트를 하나 만들어 보고 싶었고,ChatGPT 의 힘을 빌려 주제를 추천 받았고, 아래의 배송 서비스를 구현 해 봤습니다. https://github.com/2044smile/shipment GitHub - 2044smile/shipment: python, django, rabbitmq, celery, drf, drf-simplejwt, swaggerpython, django, rabbitmq, celery, drf, drf-simplejwt, swagger - 2044smile/shipmentgithub.com 간단히 프로젝트에 대한 소개를 드리자면, 카카오 로그인, djangorestframework-simplejwt 를 이용하여 토큰을 관리..
Web/Django
2024. 8. 14.
💲 추천 글