2/13/2017 第一轮电面
493 reverse pairs
You have solved 163/ 164 problems.
Show problem tags
# | Title | Acceptance | Difficulty | Frequency | |
---|---|---|---|---|---|
388 | Longest Absolute File Path | 35.5% | Medium | ||
482 | License Key Formatting | 41.2% | Medium | ||
340 | Longest Substring with At Most K Distinct Characters | 38.5% | Hard | ||
308 | Range Sum Query 2D - Mutable | 20.6% | Hard | ||
418 | Sentence Screen Fitting | 27.4% | Medium | ||
425 | Word Squares | 42.6% | Hard | ||
298 | Binary Tree Longest Consecutive Sequence | 40.2% | Medium | ||
281 | Zigzag Iterator | 48.9% | Medium | ||
361 | Bomb Enemy | 38.2% | Medium | ||
346 | Moving Average from Data Stream | 57.7% | Easy | ||
163 | Missing Ranges | 26.5% | Medium | ||
394 | Decode String | 40.5% | Medium | ||
66 | Plus One | 37.2% | Easy | ||
317 | Shortest Distance from All Buildings | 33.4% | Hard | ||
271 | Encode and Decode Strings | 26.3% | Medium | ||
288 | Unique Word Abbreviation | 15.6% | Medium | ||
393 | UTF-8 Validation | 35.3% | Medium | ||
305 | Number of Islands II | 38.4% | Hard | ||
280 | Wiggle Sort | 55.7% | Medium | ||
351 | Android Unlock Patterns | 43.0% | Medium | ||
259 | 3Sum Smaller | 40.8% | Medium | ||
200 | Number of Islands | 32.7% | Medium | ||
289 | Game of Life | 36.4% | Medium | ||
246 | Strobogrammatic Number | 39.2% | Easy | ||
471 | Encode String with Shortest Length | 42.3% | Hard | ||
406 | Queue Reconstruction by Height | 54.6% | Medium | ||
391 | Perfect Rectangle | 24.9% | Hard | ||
279 | Perfect Squares | 35.4% | Medium | ||
465 | Optimal Account Balancing | 31.3% | Hard | ||
218 | The Skyline Problem | 25.9% | Hard | ||
345 | Reverse Vowels of a String | 37.5% | Easy | ||
417 | Pacific Atlantic Water Flow | 32.9% | Medium | ||
286 | Walls and Gates | 42.9% | Medium | ||
407 | Trapping Rain Water II | 35.9% | Hard | ||
56 | Merge Intervals | 28.7% | Medium | ||
297 | Serialize and Deserialize Binary Tree | 32.1% | Hard | ||
320 | Generalized Abbreviation | 43.9% | Medium | ||
399 | Evaluate Division | 39.8% | Medium | ||
329 | Longest Increasing Path in a Matrix | 35.7% | Hard | ||
247 | Strobogrammatic Number II | 38.6% | Medium | ||
490 | The Maze | 43.3% | Medium | ||
505 | The Maze II | 32.6% | Medium | ||
159 | Longest Substring with At Most Two Distinct Characters | 39.9% | Hard | ||
362 | Design Hit Counter | 53.0% | Medium | ||
295 | Find Median from Data Stream | 23.9% | Hard | ||
484 | Find Permutation | 50.7% | Medium | ||
284 | Peeking Iterator | 35.2% | Medium | ||
294 | Flip Game II | 45.6% | Medium | ||
228 | Summary Ranges | 28.4% | Medium | ||
411 | Minimum Unique Word Abbreviation | 31.5% | Hard | ||
146 | LRU Cache | 16.3% | Hard | ||
380 | Insert Delete GetRandom O(1) | 38.6% | Medium | ||
359 | Logger Rate Limiter | 58.3% | Easy | ||
341 | Flatten Nested List Iterator | 39.3% | Medium | ||
293 | Flip Game | 54.4% | Easy | ||
315 | Count of Smaller Numbers After Self | 33.7% | Hard | ||
42 | Trapping Rain Water | 35.6% | Hard | ||
389 | Find the Difference | 51.1% | Easy | ||
401 | Binary Watch | 44.1% | Easy | ||
276 | Paint Fence | 34.1% | Easy | ||
360 | Sort Transformed Array | 43.3% | Medium | ||
274 | H-Index | 32.3% | Medium | ||
253 | Meeting Rooms II | 38.5% | Medium | ||
239 | Sliding Window Maximum | 31.7% | Hard | ||
400 | Nth Digit | 30.1% | Easy | ||
249 | Group Shifted Strings | 39.4% | Medium | ||
212 | Word Search II | 22.5% | Hard | ||
318 | Maximum Product of Word Lengths | 42.6% | Medium | ||
128 | Longest Consecutive Sequence | 35.6% | Hard | ||
269 | Alien Dictionary | 22.1% | Hard | ||
270 | Closest Binary Search Tree Value | 38.4% | Easy | ||
463 | Island Perimeter | 55.8% | Easy | ||
230 | Kth Smallest Element in a BST | 42.3% | Medium | ||
20 | Valid Parentheses | 32.4% | Easy | ||
369 | Plus One Linked List | 53.2% | Medium | ||
158 | Read N Characters Given Read4 II - Call multiple times | 24.4% | Hard | ||
162 | Find Peak Element | 36.1% | Medium | ||
139 | Word Break | 28.6% | Medium | ||
358 | Rearrange String k Distance Apart | 31.8% | Hard | ||
415 | Add Strings | 41.2% | Easy | ||
373 | Find K Pairs with Smallest Sums | 30.0% | Medium | ||
409 | Longest Palindrome | 44.6% | Easy | ||
10 | Regular Expression Matching | 23.7% | Hard | ||
327 | Count of Range Sum | 29.0% | Hard | ||
4 | Median of Two Sorted Arrays | 21.0% | Hard | ||
460 | LFU Cache | 20.7% | Hard | ||
421 | Maximum XOR of Two Numbers in an Array | 43.6% | Medium | ||
332 | Reconstruct Itinerary | 28.2% | Medium | ||
155 | Min Stack | 26.7% | Easy | ||
422 | Valid Word Square | 36.2% | Easy | ||
240 | Search a 2D Matrix II | 38.0% | Medium | ||
324 | Wiggle Sort II | 25.3% | Medium | ||
23 | Merge k Sorted Lists | 26.2% | Hard | ||
166 | Fraction to Recurring Decimal | 16.9% | Medium | ||
266 | Palindrome Permutation | 55.7% | Easy | ||
348 | Design Tic-Tac-Toe | 45.3% | Medium | ||
336 | Palindrome Pairs | 25.0% | Hard | ||
140 | Word Break II | 22.4% | Hard | ||
133 | Clone Graph | 25.1% | Medium | ||
173 | Binary Search Tree Iterator | 39.5% | Medium | ||
231 | Power of Two | 39.4% | Easy | ||
57 | Insert Interval | 26.6% | Hard | ||
54 | Spiral Matrix | 24.8% | Medium | ||
22 | Generate Parentheses | 42.4% | Medium | ||
31 | Next Permutation | 28.3% | Medium | ||
382 | Linked List Random Node | 46.3% | Medium | ||
224 | Basic Calculator | 25.8% | Hard | ||
402 | Remove K Digits | 26.0% | Medium | ||
17 | Letter Combinations of a Phone Number | 32.8% | Medium | ||
251 | Flatten 2D Vector | 39.2% | Medium | ||
50 | Pow(x, n) | 26.9% | Medium | ||
444 | Sequence Reconstruction | 19.8% | Medium | ||
272 | Closest Binary Search Tree Value II | 37.8% | Hard | ||
309 | Best Time to Buy and Sell Stock with Cooldown | 39.9% | Medium | ||
44 | Wildcard Matching | 19.2% | Hard | ||
379 | Design Phone Directory | 30.4% | Medium | ||
375 | Guess Number Higher or Lower II | 35.2% | Medium | ||
353 | Design Snake Game | 25.8% | Medium | ||
302 | Smallest Rectangle Enclosing Black Pixels | 44.3% | Hard | ||
408 | Valid Word Abbreviation | 27.5% | Easy | ||
354 | Russian Doll Envelopes | 31.9% | Hard | ||
397 | Integer Replacement | 29.4% | Medium | ||
356 | Line Reflection | 30.2% | Medium | ||
282 | Expression Add Operators | 28.8% | Hard | ||
368 | Largest Divisible Subset | 33.3% | Medium | ||
363 | Max Sum of Rectangle No Larger Than K | 32.2% | Hard | ||
451 | Sort Characters By Frequency | 50.0% | Medium | ||
208 | Implement Trie (Prefix Tree) | 26.1% | Medium | ||
214 | Shortest Palindrome | 23.3% | Hard | ||
261 | Graph Valid Tree | 36.8% | Medium | ||
313 | Super Ugly Number | 37.1% | Medium | ||
459 | Repeated Substring Pattern | 38.8% | Easy | ||
378 | Kth Smallest Element in a Sorted Matrix | 43.5% | Medium | ||
321 | Create Maximum Number | 24.1% | Hard | ||
377 | Combination Sum IV | 41.5% | Medium | ||
331 | Verify Preorder Serialization of a Binary Tree | 35.4% | Medium | ||
374 | Guess Number Higher or Lower | 33.9% | Easy | ||
326 | Power of Three | 39.5% | Easy | ||
257 | Binary Tree Paths | 35.6% | Easy | ||
506 | Relative Ranks | 50.2% | Easy | ||
312 | Burst Balloons | 41.9% | Hard | ||
314 | Binary Tree Vertical Order Traversal | 35.9% | Medium | ||
316 | Remove Duplicate Letters | 28.7% | Hard | ||
323 | Number of Connected Components in an Undirected Graph | 47.1% | Medium | ||
330 | Patching Array | 31.7% | Hard | ||
357 | Count Numbers with Unique Digits | 45.2% | Medium | ||
370 | Range Addition | 54.2% | Medium | ||
447 | Number of Boomerangs | 43.2% | Easy | ||
448 | Find All Numbers Disappeared in an Array | 53.6% | Easy | ||
469 | Convex Polygon | 29.6% | Medium | ||
474 | Ones and Zeroes | 36.8% | Medium | ||
310 | Minimum Height Trees | 28.6% | Medium | ||
480 | Sliding Window Median | 30.9% | Hard | ||
481 | Magical String | 46.3% | Medium | ||
483 | Smallest Good Base | 29.8% | Hard | ||
485 | Max Consecutive Ones | 55.5% | Easy | ||
486 | Predict the Winner | 43.4% | Medium | ||
487 | Max Consecutive Ones II | 42.4% | Medium | ||
493 | Reverse Pairs | 14.7% | Hard | ||
494 | Target Sum | 44.5% | Medium | ||
498 | Diagonal Traverse | 46.2% | Medium | ||
501 | Find Mode in Binary Search Tree | 39.5% | Easy | ||
503 | Next Greater Element II | 45.7% | Medium | ||
475 | Heaters | 29.9% | Easy |