- 博客(3)
- 收藏
- 关注
原创 Leetcode Problem : 1331
Maximum of absolute value ExpressionThe code is as follows :class Solution {public: int get_result(vector<int> &nums){ int n = nums.size(); // we consider two more cases when i-j and j-i int max1...
2021-12-09 09:35:09 75
原创 Leetcode Problem : Trapping Rainwater
Trapping RainwaterThe code is as follows :class Solution {public: int trap(vector<int>& a) { // we calculate on each block head how much water we // can put up. //It will depend on the height of the l...
2021-12-08 09:28:45 99
原创 Leetcode Problem : Next Permutation
Next PermutationThe code is as follows (example):SummarizeTip: Here is a summary of the article: For example, the above is what we will talk about today. This article only briefly introduces the use of pandas, and pandas provides a large nu...
2021-12-08 09:07:56 94
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人