' P '

whatever I will forget

Entries from 2023-06-30 to 1 day

アルゴリズム: Merge Sort & Quick Sort

Merge Sort 概要 arrayを二分していって値の比較をしていくSortアルゴリズム 計算量は O(N log(N)). 詳細 www.youtube.com サンプル問題 Kth Largest Element in an Array - LeetCode サンプルコード class Solution: def findKthLargest(self, nums: List[i…