Toggle navigation
freeCookie
Home
Content
Welcome
Tags
freeCookie
freeCookie_🍪
LC32. Longest Valid Parentheses
LC32. Longest Valid Parentheses Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) pare...
Posted by freeCookie🍪 on January 12, 2017
LC174. Dungeon Game
LC174. Dungeon Game The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M...
Posted by freeCookie🍪 on January 12, 2017
LC115. Distinct Subsequences
LC115. Distinct Subsequences Given a string S and a string T, count the number of distinct subsequences of T in S. A subsequence of a string is a...
Posted by freeCookie🍪 on January 12, 2017
Leetcode - Strobogrammatic Number
LC246, LC247, LC248
LC246. Strobogrammatic Number A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Write a ...
Posted by freeCookie🍪 on January 11, 2017
Leetcode - Permutation problems
LC31, LC46, LC47, LC60, LC266, LC267
LC31. Next Permutation Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If su...
Posted by freeCookie🍪 on January 11, 2017
Leetcode - NQueens Problems
LC51, LC52
LC51. N-Queens The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an int...
Posted by freeCookie🍪 on January 11, 2017
LC439. Ternary Expression Parser
LC439. Ternary Expression Parser Given a string representing arbitrarily nested ternary expressions, calculate the result of the expression. You c...
Posted by freeCookie🍪 on January 11, 2017
LC37. Sudoku Solver
Solve a Sudoku puzzle
LC37. Sudoku Solver Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character '.'. You may...
Posted by freeCookie🍪 on January 11, 2017
← Newer Posts
Older Posts →
FEATURED TAGS
Java
Hashset
Linkedhashset
BFS
Array
DFS
Hashmap
Design
ICC
DP
Stack
Python
Database
BinarySearch
ArrayList
SegmentTree
BIT
TopologicalSort
Bit
BST
TreeSet
TreeMap
Trie
String
LinkedList
KMP
D&C
Greedy
Math
Backtracking
Tree
UnionFind
TwoPointers
C/C++
GC
Web
Sort
Graph
DS
DL
PP
ML
Sampling
Minimax
Heap
ABOUT ME
~瞎拍脑袋写一切~
知
FRIENDS
兔子🐰
西瓜🍉
边美丽🌹
Truly