TK-Xiong`s Blog

TK-Xiong`s Blog

Code & Algorithm

Menu

  • My Life
    • Network
    • OS
    • SQL
    • TK-Xiong 邮箱
  • With
  • Code
    • Assembly
    • C++
    • Cocos
    • Go
    • MFC
    • Others
    • Qt
    • STL
  • And
  • Algorithm
    • LeetCode
    • Math
    • Search
    • Sort

Algorithm

LRU算法拓展 与 LFU算法思想

这里主要是针对LRU算法的几种拓展优化思路记录,学习。

[……]

TK Xiong 2020-11-202020-11-20 Algorithm No Comments Read more

【LeetCode】28. Implement strStr()

Implement strStr().

Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.

题目大意:实现一个子串查找函数

[……]

TK Xiong 2017-08-042017-08-04 LeetCode No Comments Read more

【LeetCode】15. 3Sum

Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0?

Find all unique triplets in the array which gives the sum of zero.

题目大意:找到三个数的和为0.

[……]

TK Xiong 2017-08-022017-08-02 LeetCode No Comments Read more

【LeetCode】14. Longest Common Prefix

找所有字符串的最长前缀公共子串。

[……]

TK Xiong 2017-01-25 LeetCode No Comments Read more

【LeetCode】12. Integer to Roman & 13. Roman to Integer

十进制整数转罗马数字 – 罗马数字转十进制整数

IntToRoman 和 RomanToInt 两个不错的题,搞成模板不错。

[……]

TK Xiong 2017-01-242017-01-25 LeetCode No Comments Read more

【LeetCode】11. Container With Most Water

题目大意:选两个线加上x轴组成容器,装下更多的水。

[……]

TK Xiong 2017-01-24 LeetCode No Comments Read more

【LeetCode】10. Regular Expression Matching

简易正则匹配…不坑,就是不太会(⊙﹏⊙)b[……]

TK Xiong 2017-01-222017-01-22 LeetCode No Comments Read more

【LeetCode】9. Palindrome Number

Determine whether an integer is a palindrome. Do this without extra space.

[……]

TK Xiong 2017-01-22 LeetCode No Comments Read more

【LeetCode】8. String to Integer (atoi)

atoi 函数…比较经典的面试坑题。

[……]

TK Xiong 2017-01-21 LeetCode No Comments Read more

【LeetCode】7. Reverse Integer

翻转整数,注意几个坑点…

[……]

TK Xiong 2017-01-21 LeetCode No Comments Read more

【LeetCode】6. ZigZag Conversion

波浪形的…额,转换? 简单题。

[……]

TK Xiong 2017-01-212017-01-21 LeetCode No Comments Read more

【LeetCode】5. Longest Palindromic Substring

这题的期望最优解应该是manacher算法…又叫manacher最长回文子串。

这里给出Python解法 和 C++解法…

[……]

TK Xiong 2017-01-192017-01-20 LeetCode No Comments Read more

【LeetCode】4. Median of Two Sorted Arrays

从两个已排序的数组中找到中位数,要求时间复杂度为log(m+n);

苦逼…各种被虐…C/C++、Python,三个版本。

[……]

TK Xiong 2017-01-17 LeetCode No Comments Read more

【LeetCode】2. Add Two Numbers

写个算法还要各种查python语法…真可怜(⊙﹏⊙)b

[……]

TK Xiong 2017-01-152020-06-01 LeetCode No Comments Read more
  • « Previous

分类目录

  • Algorithm (61)
    • LeetCode (52)
    • Math (2)
    • Search (4)
    • Sort (4)
  • Code (124)
    • Assembly (3)
    • C++ (30)
    • Cocos (6)
    • Go (33)
    • MFC (12)
    • Others (15)
    • Qt (8)
    • Rust (1)
    • STL (15)
  • MyLife (21)
  • Network (17)
  • OS (38)
    • Linux (12)
    • Windows (21)
  • SQL (11)
    • MySQL (5)
    • Redis (2)

最近更新

  • Welcome!
    更新时间: (2020-10-28)
  • 【MS】Microsoft 产品密钥 – 收集下载地址
    更新时间: (2023-03-14)
  • 【Go】获取HTTP请求真实客户端IP地址
    更新时间: (2023-02-06)
  • 【设计模式】自动注册模板工厂…Emmm
    更新时间: (2023-02-01)
  • 【TensorFlow】模型导出线上报错相关问题
    更新时间: (2023-01-29)
  • 【日志】ELK5种主流架构介绍 & 优劣分析
    更新时间: (2022-08-01)
  • 【Nginx】Mirror镜像流量转发 & 代理ClientIP转发
    更新时间: (2022-07-29)

近期评论

  • TK Xiong发表在《【Go】gin Blog项目(八) GORM Callbacks 及拓展》
  • nnn发表在《【Go】gin Blog项目(八) GORM Callbacks 及拓展》
  • tosslife发表在《【Go】gin Blog项目(十二) 接入Redis缓存》
  • zouhao发表在《【Go】基于gRPC框架的发布订阅模式》
  • Spectre发表在《【SpringMVC】IntelliJ IDEA + Maven + JDK + Tomcat 环境搭建和 SpringMVCDemo》

文章归档

  • 2023年三月 (1)
  • 2023年二月 (2)
  • 2023年一月 (1)
  • 2022年八月 (1)
  • 2022年七月 (1)
  • 2021年十月 (1)
  • 2021年七月 (1)
  • 2021年六月 (1)
  • 2021年五月 (2)
  • 2021年四月 (4)
  • 2021年三月 (1)
  • 2021年一月 (1)
  • 2020年十二月 (1)
  • 2020年十一月 (6)
  • 2020年十月 (2)
  • 2020年九月 (12)
  • 2020年八月 (5)
  • 2020年七月 (13)
  • 2020年六月 (6)
  • 2020年五月 (2)
  • 2019年四月 (1)
  • 2018年五月 (1)
  • 2018年一月 (2)
  • 2017年十一月 (1)
  • 2017年八月 (3)
  • 2017年七月 (2)
  • 2017年六月 (1)
  • 2017年五月 (7)
  • 2017年四月 (6)
  • 2017年三月 (4)
  • 2017年二月 (3)
  • 2017年一月 (13)
  • 2016年十二月 (1)
  • 2016年十一月 (3)
  • 2016年十月 (3)
  • 2016年九月 (16)
  • 2016年八月 (14)
  • 2016年七月 (12)
  • 2016年六月 (5)
  • 2016年五月 (12)
  • 2016年四月 (6)
  • 2016年三月 (18)
  • 2016年二月 (39)
  • 2016年一月 (14)
  • 2015年十二月 (14)
2023年三月
日 一 二 三 四 五 六
« 2月    
 1234
567891011
12131415161718
19202122232425
262728293031  
Powered by WordPress. Theme: Spacious by ThemeGrill.
Copyright © 2015 - 2023. 鄂ICP备15023320号.
  • 首页
  • LeetCode
  • Links
  • SSXPlayer
  • About Me