52Heartz's Blog

  • 首页

  • 标签

  • 分类

  • 所有文章

  • 文章分类浏览

  • 搜索

LeetCode 151. Reverse Words in a String[Medium]

发表于 2020-05-21 | 更新于 2022-11-01
题目地址:https://leetcode.com/problems/reverse-words-in-a-string/ 题目Given an input string, reverse the string word by word. Example 1: 12Input: "the ...
阅读全文 »

LeetCode 189. Rotate Array[Easy]

发表于 2020-05-20 | 更新于 2022-11-01
题目地址:https://leetcode.com/problems/rotate-array/ 题解地址:https://leetcode.com/articles/rotate-array/ 题目Given an array, rotate the array to the right by ...
阅读全文 »

2020051901

发表于 2020-05-19 | 更新于 2022-11-01
阅读全文 »

LeetCode 509. Fibonacci Number [Easy]

发表于 2020-04-16 | 更新于 2022-11-01
Fibonacci Number - LeetCode 题目The Fibonacci numbers, commonly denoted F(n) form a sequence, called the Fibonacci sequence, such that each number is t ...
阅读全文 »

LeetCode 50. Pow(x, n) & 剑指Offer 16.数值的整数次方 [Medium]

发表于 2020-02-03 | 更新于 2022-11-01 | 分类于 Java , Medium
Pow(x, n) - LeetCode 题目Implement pow(x, n), which calculates x raised to the power n (xn). Example 1: 12Input: 2.00000, 10Output: 1024.00000 Example ...
阅读全文 »

LeetCode 191. Number of 1 Bits & 剑指Offer 15 二进制中 1 的个数

发表于 2020-02-03 | 更新于 2022-11-01 | 分类于 LeetCode , Easy
Write a function that takes an unsigned integer and return the number of ‘1’ bits it has (also known as the Hamming weight). Example 1: 123Input: 000 ...
阅读全文 »

LeetCode 343. Integer Break & 剑指Offer 14. 剪绳子 [Medium]

发表于 2020-02-01 | 更新于 2022-11-01
题目来源:https://leetcode.com/problems/integer-break/ 题目难度:Medium 题目Given a positive integer n, break it into the sum of at least two positive integers a ...
阅读全文 »

LeetCode 5. Longest Palindromic Substring [Medium]

发表于 2020-01-30 | 更新于 2022-11-01 | 分类于 LeetCode , Medium
题目来源:https://leetcode.com/problems/longest-palindromic-substring/ 题目难度:Medium 题目Given a string s, find the longest palindromic substring in s. You ma ...
阅读全文 »

LeetCode 4. Median of Two Sorted Arrays [Hard]

发表于 2020-01-30 | 更新于 2022-11-01 | 分类于 LeetCode , Hard
题目来源: 题目难度:Hard 题目There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run ...
阅读全文 »

关于 SQLite

发表于 2020-01-29 | 更新于 2022-11-01 | 分类于 Java
官方文档:SQLite Home Page 自增主键自增主键必须是 INTEGER PRIMARY KEY,INT PRIMARY KEY 都不行。 1234567Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or ...
阅读全文 »
123…16
52Heartz

52Heartz

159 日志
9 分类
2 标签
GitHub 知乎
0%
© 2017 – 2022 52Heartz
由 Hexo 强力驱动 v3.8.0
|
主题 based on NexT.Gemini v6.6.0