自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(29)
  • 收藏
  • 关注

原创 BM318Maximum Product of Word Lengths

思路1 Brute ForceUse brute force two check every pairs. Has TLE problem思路2 BitI want to use Bit, but bit of a and bit of bb always have common 1s with intersection or xor. I have no idea how to use th

2016-11-23 13:00:47 248

原创 Array167Two Sum II - Input array is sorted

Two Pointers & BinarySearch 基本题目

2016-11-21 08:35:28 199

原创 String6ZigZagConversion

.

2016-11-14 12:48:52 219

原创 Array189RotateArray

大部分方法都是数学思想. 但细节可以体会数据结构的注意事项.

2016-11-14 09:22:50 199

原创 String14LongestCommonPrefix

,

2016-11-14 03:46:50 169

原创 String Fundamentals

String的常用methods

2016-11-14 00:50:59 188

原创 LL160IntersectionOfTwoLinkedLists

没做完整

2016-11-13 10:30:19 168

原创 HT299BullsAndCows

hashmap需要总结遍历过程中删除元素.运用一点数学思想也能解.值得多联系

2016-11-13 05:58:17 288

原创 LL141LinkedListCycle

精通单链的性质并巧用two pointers

2016-11-13 05:33:01 223

原创 No387FirstUniqueCharacterInAString

典型题目

2016-11-12 14:03:08 157

原创 BM371SumOfTwoIntegers

Negative bits shouldn't be influenced by bits manipulation

2016-11-10 12:45:41 234

原创 BM342PowerOfFour

power of N是有許多bit的解法的,都要一一掌握

2016-11-09 14:00:23 240

原创 Math231PowerOfTwo

整除的极致

2016-11-08 14:33:36 174

原创 Math168ExcelSheetColumnTitle

Base 10 to base 26. Mode operator gives number in range [0, 25] which should be mapped to [1, 26]

2016-11-08 13:11:21 317

原创 Math223RectangleArea

2016-11-08 08:12:47 210

原创 Math258AddDigits

一个数学问题Digital Root

2016-11-07 09:37:27 154

原创 Math172FactorialTrailingZeroes

绝对的数学思路

2016-11-07 08:51:25 297

原创 DP70ClimbingStairs

思路与house robber同一种思路,基于上一个的值求下一个

2016-11-07 02:32:10 162

原创 DP303RangeSumQueryImmutable

对于求和相关,都可以用这个方法。

2016-11-07 01:19:07 202

原创 DP198HouseRobber

.

2016-11-05 13:33:11 319

原创 ArrayCodilityTaskEqui

Array的题目,思路有点绕,中等偏下难度

2016-11-05 10:44:59 221

原创 Stack225ImplementStackUsingQueues

One for loop to Rotate the queue itself in push()

2016-11-05 06:19:02 153

原创 Stack155MinStack

Comparing min to the new added number. O(n) after pop().Use linked list, create a node class.Use one more stack to store

2016-11-05 06:02:59 231

原创 Tree257BinaryTreePaths

在treenode array里插入了flag

2016-11-05 02:05:38 215

原创 Binary278FirstBadVersion

一个比较特殊的mid判定法,值得再写好多遍

2016-11-04 12:59:46 158

原创 Binary441ArrangingCoins

.

2016-11-03 10:47:25 139

原创 BinarySearch小总结

练习记录特殊用法注意事项

2016-11-01 06:15:26 236

原创 HT349IntersectionOfTwoArray

2016-11-01 05:20:30 257

原创 HT204CountPrime

几个Prime的tricks

2016-11-01 04:10:13 398

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除