西门摸鱼

Month: 8 月 2022

LeetCode 6 Z字形变换

2022年8月26日 feelshu Leave a comment 算法

题目: 将一个给定字符串 s 根据给定的行数 numRows ,以从上往下、从左到右进行 Z 字形排列。 比如 […]

Continue reading


LeetCode 5 最长回文子串

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 给你一个字符串 s,找到 s 中最长的回文子串。 解题: 遍历找出左右对称的字符串 代码: 官方解答: […]

Continue reading


LeetCode 4 寻找两个正序数组的中位数

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 给定两个大小分别为 m 和 n 的正序(从小到大)数组 nums1 和 nums2。请你找出并返回这两 […]

Continue reading


LeetCode 3 无重复字符的最长子串

2022年8月26日 feelshu Leave a comment 算法

题目: 给定一个字符串 s ,请你找出其中不含有重复字符的 最长子串 的长度。 解题: 循环查找不重复的字符串 […]

Continue reading


LeetCode 2 两数相加

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 给你两个 非空 的链表,表示两个非负的整数。它们每位数字都是按照 逆序 的方式存储的,并且每个节点只能 […]

Continue reading


LeetCode 1 两数之和

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 给定一个整数数组 nums 和一个整数目标值 target,请你在该数组中找出 和为目标值 targe […]

Continue reading


Posts navigation

Newer posts

近期文章

  • LeetCode 199 二叉树的右视图
  • LeetCode 198 打家劫舍
  • LeetCode 197 上升的温度
  • LeetCode 196 删除重复的电子邮箱
  • LeetCode 195 第十行

近期评论

  1. 111 发表在 LeetCode 36 有效的数独
  2. 一位WordPress评论者 发表在 世界,您好!

归档

  • 2023 年 5 月
  • 2023 年 4 月
  • 2023 年 3 月
  • 2023 年 2 月
  • 2023 年 1 月
  • 2022 年 12 月
  • 2022 年 8 月
  • 2022 年 4 月

分类

  • 未分类
  • 算法
dazzling Theme by Colorlib Powered by WordPress
陕ICP备2021008752号-1