Just A Blog


  • 首页

  • 归档

  • 标签

  • 搜索

sort:排序算法中居然还有此等邪道?

发表于 2019-11-22 | Visitors
Words count in article 605 | Reading time 2

其实只是计数排序而已🌶

阅读全文 »

sort:堆排序与优先队列原来是这样的关系?

发表于 2019-11-22 | Visitors
Words count in article 2k | Reading time 7

堆排序,优先队列,算法本质上都是一样的。

阅读全文 »

sort:简单易懂的快排

发表于 2019-11-22 | Visitors
Words count in article 1.4k | Reading time 5

其实快排和冒泡有着这样那样的关系哦

阅读全文 »

sort:冒泡排序不得不说的秘密?

发表于 2019-11-21 | Visitors
Words count in article 1.1k | Reading time 4

你知道冒泡排序有几种写…咳咳…优化方法吗

阅读全文 »

kmp algorithm

发表于 2019-11-20 | Visitors
Words count in article 1.9k | Reading time 7

小题目引出大问题,kmp算法,简单的快速字符串匹配

阅读全文 »

manacher's algorithm

发表于 2019-11-20 | Visitors
Words count in article 1.3k | Reading time 5

这是一个寻找回文子串的算法,时间复杂度为线性的。

阅读全文 »

leetcode:sudoku solver

发表于 2019-11-18 | Visitors
Words count in article 721 | Reading time 3

Write a program to solve a Sudoku puzzle by filling the empty cells.

A sudoku solution must satisfy all of the following rules:

Each of the digits 1-9 must occur exactly once in each row.
Each of the digits 1-9 must occur exactly once in each column.
Each of the the digits 1-9 must occur exactly once in each of the 9 3x3 sub-boxes of the grid.
Empty cells are indicated by the character ‘.’

阅读全文 »

leetcode:ugly number III

发表于 2019-11-16 | Visitors
Words count in article 302 | Reading time 1

Write a program to find the n-th ugly number.

Ugly numbers are positive integers which are divisible by a or b or c.

阅读全文 »

Implementing a Reliable Transport Protocol

发表于 2019-11-13 | Visitors
Words count in article 1.4k | Reading time 7

Computer Networking:A Top-Down approach chapter 3 lab

阅读全文 »

leetcode:populating next rightpointersin each node II

发表于 2019-11-01 | Visitors
Words count in article 962 | Reading time 4

Given a binary tree

1
2
3
4
5
6
struct Node {
int val;
Node *left;
Node *right;
Node *next;
}

Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set to NULL.

Initially, all next pointers are set to NULL.

阅读全文 »
12345
ShinyGX

ShinyGX

49 日志
17 标签
RSS
GitHub
© 2021 ShinyGX
由 Hexo 强力驱动
主题 - NexT.Mist
0%