Skip to content

Instantly share code, notes, and snippets.

@liyonghelpme
Created December 16, 2019 00:25
Show Gist options
  • Save liyonghelpme/005f533ba90baa5e9f590493c3d38575 to your computer and use it in GitHub Desktop.
Save liyonghelpme/005f533ba90baa5e9f590493c3d38575 to your computer and use it in GitHub Desktop.
enum ProblemT {
Less,
More,
Same,
MisUp,
MisLow,
MisNum
}
class SNode {
start : number
len : number
char : string
}
class ProblemDetail {
type : ProblemT
lessNum : number
moreNum : number
sameNodes :SNode[]
}
class StrP{
password : string
problems : []
//从操作角度分析
//解决哪些问题
//寻找所有问题
//执行某个操作 问题解决了一部分 没有 解决所有问题
Check() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment