RobustJay
RobustJay
全部文章
分类
题解(8)
归档
标签
去牛客网
登录
/
注册
RobustJay的博客
全部文章
(共3篇)
题解 | #最接近的数#
class CloseNumber { public: vector<int> getCloseNumber(int x) { // write code here bitset<32> lower(x); bitset...
C++
贪心
双指针
2022-03-28
0
377
题解 | #跳跃游戏(二)#
#include <iostream> #include <vector> using namespace std; class solution { public: void getResult(vector<int> &nums) ...
C++
动态规划
贪心
2022-03-13
0
398
题解 | #最长上升子序列(一)#
常规动态规划 #include <iostream> #include <vector> using namespace std; class solution { public: int getResult(vector<int> &nums...
C++
动态规划
贪心
二分查找
树状数组
2022-03-09
1
478