Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- anomaly detection
- Mean squared error
- 이상탐지
- LLM
- qlora
- 파인튜닝
- Time Series
- rag parsing
- fp16
- Non-Maximum Suppression
- bf16
- multi-query
- rag-fusion
- 딥러닝
- 오차역전파
- Nested Learning
- pdf parsing
- fine tuning
- 합성곱 신경망
- gemma3
- LLM 패러다임
- rrf
- Cross Entropy Error
- 데이터 파싱
- deep learning
- fp32
- 활성화함수
- visual instruction tuning
- LLaVA
- 활성화 함수
Archives
- Today
- Total
Attention, Please!!!
[LeetCode] Product of Array Except Self 본문
문제:

풀이 :
class Solution:
def productExceptSelf(self, nums: List[int]) -> List[int]:
solution = [1] * (range(len(nums))
for i in range(len(nums)):
solution[i] = solution[i-1] * nums[i-1]
postfix = 1
for i in range(len(nums)-1, -1,-1)):
solution[i] *= postfix
postfix *= nums[i]
return solution'Algorithm > Leetcode' 카테고리의 다른 글
| [LeetCode] Valid Anagram (0) | 2024.02.16 |
|---|---|
| [LeetCode] SQL 50문제 (진행중) (0) | 2023.10.24 |
| [LeetCode] Two Sum (0) | 2023.10.20 |
| [LeetCode] Valid Sudoku (0) | 2023.10.12 |
| [LeetCode] Contains Duplicate (0) | 2023.10.10 |