文件名称:Leetcode提交:此仓库包含我在leetcode平台上的提交
文件大小:45KB
文件格式:ZIP
更新时间:2024-02-28 19:57:16
C++
Leetcode提交 此仓库包含我在leetcode平台上提交的意见,我已尽力解决。 在许多问题中,与其他提交相比,我的运行时间缩短了100%,空间复杂度提高了95%以上:
【文件预览】:
Leetcode-submissions-main
----Easy()
--------sum-of-left-leaves.cpp(529B)
--------can-make-arithmetic-progression-from-sequence.cpp(645B)
--------increasing-order-search-tree.cpp(840B)
--------happy-number.cpp(600B)
--------convert-binary-number-in-a-linked-list-to-integer.cpp(534B)
--------min-cost-climbing-stairs.cpp(475B)
--------defanging-an-ip-address.cpp(377B)
--------maximum-product-of-two-elements-in-an-array.cpp(320B)
--------n-ary-tree-postorder-traversa.cpp(755B)
--------search-in-a-binary-search-tree.cpp(636B)
--------Number of Steps to Reduce a Number to Zero.cpp(374B)
--------min-stack.cpp(666B)
--------hamming-distance.cpp(481B)
--------reverse-string(347B)
--------make-two-arrays-equal-by-reversing-sub-arrays.cpp(651B)
--------reverse-words-in-a-string-iii(836B)
--------kid_with_candies.cpp(589B)
--------remove_duplicates_from_sorted_arrray.cpp(613B)
--------peak-index-in-a-mountain-array.cpp(589B)
--------maximum-depth-of-binary-tree.cpp(607B)
--------xor-in-array-leetcode.cpp(608B)
--------subtract-the-product-and-sum-of-digits-of-an-integer.cpp(366B)
--------delete-node-in-a-linked-list.cpp(461B)
--------fibonacci-number.cpp(847B)
--------average-salary-excluding-the-minimum-and-maximum-salary.cpp(632B)
--------even-number-of-digits.cpp(455B)
--------linked-list-cycle.cpp(546B)
--------jewels-and-stones.cpp(489B)
--------prime-number-of-set-bits-in-binary-representation.cpp(790B)
--------lemonade-change.cpp(1KB)
--------second-minimum-node-in-a-binary-tree.cpp(659B)
--------Employees Earning More Than Their Managers solution(339B)
--------distance-between-bus-stops.cpp(725B)
--------climbing-stairs.cpp(476B)
--------middle-of-the-linked-list.cpp(1007B)
--------minimum-subsequence-in-non-increasing-order.cpp(757B)
--------remove duplicates.cpp(449B)
--------search_new_elements.cpp(791B)
--------palindrome-number.cpp(499B)
--------height-checker.cpp(471B)
--------design-parking-system.cpp(756B)
--------maximum-number-of-balls-in-a-box.cpp(744B)
--------maximum-nesting-depth-of-the-parentheses.cpp(494B)
--------goal-parser-interpretation.cpp(690B)
--------minimum-cost-to-move-chips-to-the-same-position.cpp(598B)
--------n-ary-tree-preorder-traversal.cpp(726B)
--------rotate-string.cpp(568B)
--------shuffle the array.cpp(472B)
--------get-maximum-in-generated-array.cpp(788B)
--------minimum-distance-between-bst-nodes.cpp(828B)
--------palindrome-linked-list.c++(749B)
--------range-sum-of-bst.cpp(647B)
--------missing-number.cpp(476B)
--------reverse-linked-list.cpp(645B)
--------maximum-subarray.cpp(626B)
--------single-number.cpp(356B)
--------intersection-of-two-arrays.cpp(2KB)
--------squares-of-a-sorted-array-sol.cpp(492B)
--------Sort List.cpp(638B)
--------balanced-binary-tree-solution.cpp(945B)
--------binary-search.cpp(666B)
--------determine-if-string-halves-are-alike-solution.cpp(885B)
----medium()
--------k-th-symbol-in-grammar.cpp(560B)
--------kth-smallest-element-in-a-bst.cpp(567B)
--------merge-in-between-linked-lists.cpp(2KB)
--------delete-leaves-with-a-given-value.cpp(1KB)
--------encode-and-decode-tinyurl.cpp(799B)
--------validate-binary-search-tree.cpp(745B)
--------binary-tree-inorder-traversal.cpp(560B)
--------binary-search-tree-to-greater-sum-tree.cpp(709B)
--------letter-combinations-of-a-phone-number.cpp(1KB)
--------design-a-stack-with-increment-operation.cpp(912B)
--------find-smallest-letter-greater-than-target.cpp(1KB)
--------count-number-of-teams.cpp(1KB)
--------arithmetic-subarrays.cpp(970B)
--------find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree.cpp(1KB)
--------Pow(x, n).cpp(678B)
--------range-sum-of-bst.cpp(650B)
--------insert-into-a-binary-search-tree.cpp(1KB)
--------search-in-rotated-sorted-array-ii.cpp(497B)
--------powx-n.py(305B)
--------all-elements-in-two-binary-search-trees.cpp(1KB)
----README.md(220B)