• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
p-boost-q
博客园    首页    新随笔    联系   管理    订阅  订阅
2022年5月25日
day2-<回文数>
摘要: 题目描述: #include <iostream> using namespace std; class Solution { public: bool isPalindrome(long long x) { long long temp = x, reX = 0; if(x < 0 || (x ! 阅读全文
posted @ 2022-05-25 20:12 p-boost-q 阅读(25) 评论(0) 推荐(0)
day2-<最长回文子串-动态规划算法>
摘要: 问题描述: #include <iostream> #include <stdlib.h> #include <string> #include <string.h> #include <stdio.h> using namespace std; class Solution { public: s 阅读全文
posted @ 2022-05-25 19:48 p-boost-q 阅读(41) 评论(0) 推荐(0)
day1-<无重复字符的最长子串 - 哈希表思想>
摘要: 题目描述: #include <iostream> #include <cstdlib> #include <cstring> #include <unordered_map> using namespace std; class Solution { public: int lengthOfLon 阅读全文
posted @ 2022-05-25 11:15 p-boost-q 阅读(29) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3