Skip to content
Header image

张晓安的个人网站

where amazing happens!

  • 云数据中心
    • linux网络
    • SDN
    • 云计算
      • openstack
    • 容器
      • Docker
    • 网络协议
      • HTTP2详解
  • 基础与修养
    • 数据结构与算法
      • 数据结构与算法
      • 2020刷题记录
      • leetcode_meet_me
      • redis中的数据结构与算法
      • 极客时间—-数据结构与算法之美(王争)
        • 队列:队列在线程池等有限资源池中的应用
    • Linux
      • gnu c
      • 内核互斥技术
      • 内核活动
      • 内存管理
      • 文件系统
      • linux开发工具
    • 设计模式
    • 系统架构
      • 高并发
    • 编程语言
      • c++
      • Golang
      • Ruby
      • Python
        • python入门教程
          • 数据模型
          • 词法分析
          • 类与对象
  • 基础设施
    • gRPC
  • 源码笔记
    • Scrapy
    • Celery
  • 我的教程
    • Golang语言入门
  • CSDN
  • github

分类:leetcode_meet_me

leetcode_meet_me / Linux

一行shell实现统计单词词频

2020年2月17日2020年2月17日 zhangxa comment on 一行shell实现统计单词词频

写一个 bash 脚本以统计一个文本文件 words.txt 中每个单词出现的频率。 为了 […]

Continue Reading ..
leetcode_meet_me / 自我修养

22.Generate Parentheses

2019年7月14日2019年7月23日 zhangxa comment on 22.Generate Parentheses

给出n对括号,输出所有正确的组合方式。 如n=3,输出: [ “((()))”, “(()())”, “(() […]

Continue Reading ..
leetcode_meet_me / 自我修养

24.Swap Nodes in Pairs

2019年7月14日2019年7月23日 zhangxa comment on 24.Swap Nodes in Pairs

给定一个链表,交换相邻2个节点的值。 举例: 输入: 1->2->3->4 输出: 2->1->4->3 cl […]

Continue Reading ..
leetcode_meet_me / 自我修养

19.Remove Nth Node From End of List

2019年7月4日2019年7月23日 zhangxa comment on 19.Remove Nth Node From End of List

删除从链表尾部数第n个元素。 class Node: def __init__(self, data, nex […]

Continue Reading ..
leetcode_meet_me / 自我修养

20.Valid Parentheses

2019年7月3日2019年7月23日 zhangxa comment on 20.Valid Parentheses

一个只包含'(‘, ‘)’, ‘[‘, ‘]’, ‘{‘, ‘}’的字符串,判断其是否合法。 合法的条件是左右 […]

Continue Reading ..
leetcode_meet_me / 自我修养

10.正则匹配

2019年7月1日2019年7月23日 zhangxa comment on 10.正则匹配

实现一个支持’.’和’*’的正则表达式。 ‘.’:匹配任意单个字符。 ‘*’:匹配0个或多个前导字符。 匹配需 […]

Continue Reading ..
leetcode_meet_me / 自我修养

7.翻转整数

2019年6月30日2019年7月23日 zhangxa comment on 7.翻转整数

输入:123 输出:321 输入:-123 输出:-321 def reverse_integer(i): r […]

Continue Reading ..
leetcode_meet_me / 自我修养

5.最长回文子串

2019年6月30日2019年7月23日 zhangxa comment on 5.最长回文子串

给定一个字符串s,找出其中最长的回文子串。可以假定s的最大长度为1000. 比如: 输入:”babad” 输出 […]

Continue Reading ..
leetcode_meet_me / 自我修养

4.Median of Two Sorted Arrays

2019年6月30日2019年7月23日 zhangxa comment on 4.Median of Two Sorted Arrays

有2个排序的数组ary1, ary2,大小分别为m,n. 找出2个数组中间的数字,总的运行时间复杂度要求为O( […]

Continue Reading ..
leetcode_meet_me / 自我修养

3.Longest Substring Without Repeating Characters

2019年6月29日2019年7月23日 zhangxa comment on 3.Longest Substring Without Repeating Characters

查找字符串中不包含重复字符的最长字串。 例如: 输入:abcdabcdeefgh 输出:abcde int m […]

Continue Reading ..

文章导航

先前文章

知音

  • ThomasViz发表在《Puppet源码剖析—-Type篇(一)》
  • 더나인카지노发表在《让你的项目支持autotools》
  • 123movies发表在《让你的项目支持autotools》
  • Tapentadol 100 MG Tablet发表在《让你的项目支持autotools》
  • Royal CBD发表在《leetcode竞赛题(一)—-生成每种字符都是奇数个的字符串》

最新输出

  • 智能指针 2021年4月11日
  • Linux 虚拟网络设备详解之 “vRouter” 2020年5月20日
  • Puppet源码剖析—-Type篇(一) 2020年5月17日
  • (转)一位程序员工作10年总结的13个忠告 2020年5月17日
  • zip暴力破解工具Python实现 2020年5月4日

归档

  • 2021年4月 (1)
  • 2020年5月 (4)
  • 2020年4月 (1)
  • 2020年3月 (3)
  • 2020年2月 (2)
  • 2019年11月 (1)
  • 2019年10月 (3)
  • 2019年9月 (2)
  • 2019年8月 (10)
  • 2019年7月 (30)
  • 2019年6月 (27)
  • 2019年5月 (52)
  • 2019年4月 (5)
  • 2019年3月 (11)
  • 2019年2月 (10)
  • 2019年1月 (3)
  • 2018年9月 (1)
  • 2018年6月 (1)
  • 2012年2月 (1)
  • 2011年9月 (1)
Proudly powered by WordPress | Theme: x-blog by wpthemespace.com