WMXNLFD
码龄6年
关注
提问 私信
  • 博客:58,194
    动态:6
    58,200
    总访问量
  • 186
    原创
  • 1,494,027
    排名
  • 24
    粉丝
  • 0
    铁粉

个人简介:努力成瘾的人 个人博客:https://www.cnblogs.com/wmxnlfd/

IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:广东省
  • 加入CSDN时间: 2018-06-26
博客简介:

WMXNLFD的博客

查看详细资料
个人成就
  • 获得50次点赞
  • 内容获得7次评论
  • 获得92次收藏
  • 代码片获得129次分享
创作历程
  • 2篇
    2022年
  • 89篇
    2020年
  • 95篇
    2019年
成就勋章
TA的专栏
  • 学习笔记
    8篇
  • oracle
    2篇
  • 笔试刷题
    9篇
  • webservice
    1篇
  • Android开发
    1篇
  • 剑指Offer
    6篇
  • 算法竞赛进阶指南笔记
    31篇
  • 机器学习之路
    22篇
  • 算法学习之路
    9篇
  • LeetCode刷题
    90篇
  • PAT刷题
    11篇
  • 学习思考总结
    2篇
  • 算法总结
    2篇
兴趣领域 设置
  • 数据结构与算法
    排序算法推荐算法
  • 人工智能
    opencv
创作活动更多

HarmonyOS开发者社区有奖征文来啦!

用文字记录下您与HarmonyOS的故事。参与活动,还有机会赢奖,快来加入我们吧!

0人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

【Oracle宝典】排序与各类函数

排序select * from 表名 where 查询条件 order by 列名1 ASC|DESC,列名2 ASC|DESC...默认排序规则是升序排序,可以不指定ASC,如果降序排列必须制定DESC。第一列相同的情况下会按照第二列的排序规则来排序。单行函数接收字符输入返回字符或者数值,dual是伪表--小写转换大写select upper('ljp') from dual--大写转换小写select lower('LJP') from dual--首字母大写sele
原创
发布博客 2022.03.17 ·
1063 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

【Oracle宝典】基本知识与查询

mysql数据源driver:com.sql.jdbc.Drvierurl:jdbc:mysql://locahost:3306/[database](可变)username:rootpassword:rootOracle数据库:是一个文件系统,是物理概念。实例:在Oracle的数据库中可以有多个实例,通常我们只用一个实例。用户:一个实例下有多个用户。表空间:一个实例下有多个表空间,表空间是逻辑概念,一个表空间对应着一个或者多个物理存储文件(.dbf database file,.
原创
发布博客 2022.03.15 ·
1289 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

LeetCode经典基础算法题1

class Solution {public: vector<int> twoSum(vector<int>& nums, int target) { unordered_map<int, int>hash; for(int i = 0; i < nums.size(); i++) { int t = target - nums[i]; if(hash.count(.
原创
发布博客 2020.09.16 ·
212 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

【QZMS】7 HuaWei 108 (21-25)

21.简单密码破解#include <iostream>#include <string>using namespace std;const string dict1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";const string dict2 = "bcdefghijklmnopqrstuvwxyza22233344455566677778889999";char change(char
原创
发布博客 2020.09.03 ·
232 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

Leetcode总结 栈专题

class Solution {public: bool isValid(string s) { stack<char> stk; for(auto c : s) { if(c == ')') { if(stk.empty() || stk.top...
原创
发布博客 2020.09.03 ·
160 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

算法基础模板题3

787. 归并排序给定你一个长度为n的整数数列。请你使用归并排序对这个数列按照从小到大进行排序。并将排好序的数列按顺序输出。输入格式输入共两行,第一行包含整数 n。第二行包含 n 个整数(所有整数均在1~109范围内),表示整个数列。输出格式输出共一行,包含 n 个整数,表示排好序的数列。数据范围1≤n≤100000输入样例:53 1 2 4 5输出样例:1 2 3 4 5#include <iostream>#include <vector>u
原创
发布博客 2020.09.03 ·
822 阅读 ·
1 点赞 ·
1 评论 ·
3 收藏

算法基础模板题11-20

154. 滑动窗口单调队列给定一个大小为n≤106的数组。有一个大小为k的滑动窗口,它从数组的最左边移动到最右边。您只能在窗口中看到k个数字。每次滑动窗口向右移动一个位置。以下是一个例子:该数组为[1 3 -1 -3 5 3 6 7],k为3。窗口位置 最小值 最大值[1 3 -1] -3 5 3 6 7 -1 31 [3 -1 -3] 5 3 6 7 -3 31 3 [-1 -3 5] 3 6 7 -3 51 3 -1 [-3 5 3] 6 7 -3 51 3 -1 -3 [
原创
发布博客 2020.09.01 ·
409 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

算法基础模板题1-10

2. 01背包问题背包问题 DP有 N 件物品和一个容量是 V 的背包。每件物品只能使用一次。第 i 件物品的体积是 vi,价值是 wi。求解将哪些物品装入背包,可使这些物品的总体积不超过背包容量,且总价值最大。输出最大价值。输入格式第一行两个整数,N,V,用空格隔开,分别表示物品数量和背包容积。接下来有 N 行,每行两个整数 vi,wi,用空格隔开,分别表示第 i 件物品的体积和价值。输出格式输出一个整数,表示最大价值。数据范围0<N,V≤10000<vi,wi≤
原创
发布博客 2020.08.30 ·
282 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【QZMS】6 HuaWei 108 (9-20)

9.提取不重复的整数#include <iostream>using namespace std;int main() { int n; cin >> n; int a[10] = {0}; while(n) { a[n % 10] ++; if(a[n % 10] == 1) { cout << n % 10; } n /= 10;
原创
发布博客 2020.08.10 ·
127 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【QZMS】5 HuaWei 108 (1-8)

1.字符串最后一个单词的长度#include<iostream>#include<vector>#include<string>using namespace std;int main() { string input; vector<string>arr; while(cin >> input) { arr.push_back(input); } cout <
原创
发布博客 2020.08.02 ·
208 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【QZMS】4 BFS DFS Depth 树

/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; *//** * Definition for singly-linked list. * struct ListNod.
原创
发布博客 2020.07.29 ·
194 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【QZMS】3 BST LCA depth树

/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */class Solution {public: vector<vector<int>>.
原创
发布博客 2020.07.28 ·
156 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【QZMS】2 LCA BiNode 树

/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */class Solution {public: TreeNode* lowestCommonAncestor.
原创
发布博客 2020.07.27 ·
185 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

【QZMS】LC第31场双周赛

class Solution {public: int count(int x) { if(x < 0) { return 0; } return (x + 1) / 2; } int countOdds(int low, int high) { return count(high) - count(low - 1); }};class Solutio.
原创
发布博客 2020.07.26 ·
165 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

快排 冒泡 选择 插入 归并排序算法

快排#include <bits/stdc++.h>using namespace std;void quick_sort(vector<int>&q, int l, int r) { if(l >= r) return; int i = l - 1, j = r + 1, x = q[l + r >> 1]; while(i < j) { do i ++; while(q[i] < x
原创
发布博客 2020.07.02 ·
166 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

LeetCode Weekly contest 190

字符串class Solution {public: int isPrefixOfWord(string sentence, string searchWord) { sentence += " "; string cur = "";// 分割字符串 int idx = 1, m = searchWord.size(); for(auto c : sentence){ if(c == ' '){ .
原创
发布博客 2020.05.24 ·
210 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode总结 链表专题

/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */class Solution {public: ListNode* a...
原创
发布博客 2020.04.05 ·
135 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

从零开始的刷LeetCode生活 第52期 576-600

class Solution {public: vector<vector<vector<int>>>f; int dx[4] = {-1, 0, 1, 0}, dy[4] = {0, 1, 0, -1}; int mod = 1e9 + 7; int findPaths(int m, int n, int N, int i...
原创
发布博客 2020.03.21 ·
112 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

从零开始的刷LeetCode生活 第51期 557-575

class Solution {public: string reverseWords(string s) { int front = 0, back = 0; for(int i = 0; i < s.size(); i ++) { if(s[i] != ' ') back ++; ...
原创
发布博客 2020.03.19 ·
124 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【ML&DL学习】21 rnn embedding lstm generate text

LSTM 长短期记忆网络Ct-1和一个东西做点积操作,然后和另外一个东西进行加法操作,这些操作都是向量。有两个输入,一个ht-1,一个xt,ht-1是LSTM保存的另外一个状态,都输入sigmoid函数,得到一个向量ft,他是一个门限向量,之后ft和ct-1做点积操作,(ft的含义就是遗忘门,看Ct-1中哪些信息需要保留)。同样H_t-1和X_t经过sigmoid操作得到门限向...
原创
发布博客 2020.03.18 ·
239 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多