(LeetCode OJ) Maximum Subarray【53】
53. Maximum SubarrayMy SubmissionsQuestionTotal Accepted: 89899 Total Submission
poj2752 Seek the Name,Seek the Fame
Seek the Name, Seek the Fame Time Limit: 2000MS Memory Limit: 65536K T
LeetCode 237 Delete Node in a Linked List(在鏈表中刪除節點)
翻譯 4。 原文 4 after calling your function. 代碼 next; delete
leetcode筆記:Search Insert Position
一. 題目描述 Given a sorted array and a target value, return the index if the target
leetcode筆記:First Bad Version
一. 題目描述 You are a product manager and currently leading a team to develop a new
leetcode筆記:Search for a Range
一. 題目描述 Given a sorted array of integers, find the starting and ending position
LeetCode Remove Element
LeetCode解題之Remove Element原題刪除一個數組中某一特定數值的元素,返回刪除後的數組長度。注意點:操作結束後的數字排列順序不需要與之前相同
LeetCode Reverse Nodes in k
LeetCode解題之Reverse Nodes in k-Group 原題 將一個鏈表中每k個數進行翻轉,末尾不足k個的數不做變化。 注意點:
1071. Speech Patterns (25)【字符串操作】——PAT (Advanced Level) Practise
題目信息1071. Speech Patterns (25)時間限制300 ms內存限制65536 kB代碼長度限制16000 BPeople often ha
c++14可以直接書寫二進制字面常量了
Table of Contents1. 直接書寫二進制字面常量1 直接書寫二進制字面常量c++14帶來了0b或者0B開頭表示二進制串的字面常量方式, 成為bin
1068. Find More Coins (30)【背包】——PAT (Advanced Level) Practise
題目信息1068. Find More Coins (30)時間限制150 ms內存限制65536 kB代碼長度限制16000 BEva loves to co
實戰c++中的智能指針unique_ptr系列
今天遇到一個錯誤,是關於unique_ptr的get方法的,忽略了。 之前博客是這樣寫get方法的: 其中bar是一個智能指針,p是一個普通指針: p =