Directories
¶
| Path | Synopsis |
|---|---|
|
array
|
|
|
checkperm
command
|
|
|
licensekey
command
|
|
|
minmeetingrooms
command
|
|
|
mostwatercontainer
command
|
|
|
nextclosesttime
command
|
|
|
nextpermutation
command
|
|
|
oneaway
command
|
|
|
palindromeperm
command
|
|
|
rotatematrix
command
|
|
|
triplesum
command
|
|
|
twosum
command
|
|
|
unique
command
|
|
|
uniqueemail
command
|
|
|
urlify
command
|
|
|
augmentedstruct
|
|
|
lrucache
Example usage: cache := Constructor(capacity); value := cache.Get(key); cache.Put(key, value);
|
Example usage: cache := Constructor(capacity); value := cache.Get(key); cache.Put(key, value); |
|
backtracking
|
|
|
eightqueen
command
|
|
|
knightstour
command
|
|
|
robotgrid
command
|
|
|
bits
|
|
|
binarytostring
command
|
|
|
conversion
command
|
|
|
drawline
command
|
|
|
fliptowin
command
|
|
|
insertion
command
|
|
|
pairswap
command
|
|
|
computgeom
|
|
|
rectanglecount
command
|
|
|
dynamicprog
|
|
|
editdistance
command
|
|
|
jumpgame
command
|
|
|
knapsack
command
|
|
|
longestcommonsubsequence
command
|
|
|
longestcommonsubstring
command
|
|
|
oddevenjump
command
|
|
|
triangulation
command
|
|
|
triplestep
command
|
|
|
graph
|
|
|
bintreemaxsum
command
|
|
|
bstsequene
command
|
|
|
buildorder
command
|
|
|
checkbalanced
command
|
|
|
checksubtree
command
|
|
|
commonancestor
command
|
|
|
commonvertex
command
|
|
|
cracksafe
command
|
|
|
listofdepth
command
|
|
|
minsearchtree
command
|
|
|
noderoute
command
|
|
|
pathwithsum
command
|
|
|
randomnodebst
command
|
|
|
successor
command
|
|
|
validbst
command
|
|
|
wordladder
command
Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWord, such that: * Only one letter can be changed at a time.
|
Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWord, such that: * Only one letter can be changed at a time. |
|
greedy
|
|
|
fracknapsack
command
|
|
|
linkedlist
|
|
|
intersect
command
|
|
|
ktolast
command
|
|
|
loopdetect
command
|
|
|
palindrome
command
|
|
|
partition
command
|
|
|
removedups
command
|
|
|
singlelistdelete
command
|
|
|
sumlists
command
|
|
|
permutation
|
|
|
bracket
command
|
|
|
rot13reader
command
|
|
|
strperm
command
|
|
|
search
|
|
|
rotated
command
|
|
|
slidingwindow
|
|
|
distinctkchars
command
|
|
|
distinctkchars/fruitbasket
command
|
|
|
nonrepeatchars
command
|
|
|
animalshelter
command
|
|
|
setofstacks
command
|
|
|
sortstack
command
|
|
|
stackmin
command
|
|
|
threeinone
command
|
|
|
stat
|
|
|
continuousmedian
command
|
|
|
tree
|
|
|
equitree
command
|
Click to show internal directories.
Click to hide internal directories.