p0003

package
v0.0.0-...-4302f07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2019 License: MIT Imports: 0 Imported by: 0

README

双指针,维护一个表记录双指针中间字母的出现次数,每当出现重复字母是,不断移动左指针直到没有重复,再更新答案。

time complexity: O(n)

space complexity: O(1)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL