leetcode- Valid Number 基于状态机思想实现
Validate if a given string is numeric. Some exampl… 继续阅读 leetcode- Valid Number 基于状态机思想实现
一个普通理工宅的笔记
Validate if a given string is numeric. Some exampl… 继续阅读 leetcode- Valid Number 基于状态机思想实现
int myAtoi(char* str) { int y=0,s=0; while(*str!=’… 继续阅读 leetcode-String to Integer (atoi)
int reverse(int x) { int y=0; if(x>0){ while(x!… 继续阅读 Reverse Integer
The string “PAYPALISHIRING” is written… 继续阅读 leetcode_ZigZag Conversion