• HOME
  • ABOUT
  • ARCHIVES
Search ...
Search ...

Tag: Leetcode - Array

Tags

Data Structure and Algorithms | 2019-12-05

Leetcode 54. Spiral Matrix

Question Give a m * n matrix, return the spiral order of all elements. Simila ...

Nick Li
Nick Li
6 min read
Data Structure and Algorithms | 2019-12-04

Leetcode 53. Maximum Subarray

Question Find a contiguous subarray in an array that has the largest sum. Similar Questions Easy ...

Nick Li
Nick Li
3 min read
Data Structure and Algorithms | 2019-12-03

Leetcode 48. Rotate Image

Question Rotate a 2D matrix by 90 degrees (clockwise). The rotation should be in-place (no extra s ...

Nick Li
Nick Li
2 min read
Data Structure and Algorithms | 2019-11-27

Leetcode 40. Combination Sum II

Question Similar to Question Leetcode 39. Combination Sum. Only this time the same number in the a ...

Nick Li
Nick Li
4 min read
Data Structure and Algorithms | 2019-11-25

Leetcode 39. Combination Sum

Question Given an array and a target value, find all unique combination of numbers that add up to ...

Nick Li
Nick Li
7 min read
Data Structure and Algorithms | 2019-11-24

Leetcode 34. Find First and Last Position of Element in Sorted Array

Question Find the first and last location of target value in a sorted array. Algorithm need to run ...

Nick Li
Nick Li
5 min read
Data Structure and Algorithms | 2019-11-23

Leetcode 33. Search in Rotated Sorted Array

Question The original array is sorted, but rotated at some pivot index. We need to find the target ...

Nick Li
Nick Li
4 min read
Data Structure and Algorithms | 2019-11-19

Leetcode 31: Next Permutation

Question This problem is a bit hard to understand. Suppose we have number 123, then the permutati ...

Nick Li
Nick Li
9 min read
Data Structure and Algorithms | 2019-11-18

Leetcode 18: 4Sum

Question Similar to Question 15: 3Sum. This time we want to find all 4 numbers that add up to the ...

Nick Li
Nick Li
5 min read
Data Structure and Algorithms | 2019-11-16

Leetcode 16: 3Sum Closest

Question Similar to Question 15: 3Sum. This time we want to find the 3 sum that is closest to the ...

Nick Li
Nick Li
3 min read
← PREV1234NEXT →
— Nick Li —

Recent Posts

  • Java Multithreading 19: Condition
  • Leetcode 228. Summary Ranges
  • Java Multithreading 18: Unfair lock
MORE →

Categories

  • Data Structure and Algorithms
  • Java
  • Spring Cloud
  • how-to-guide

Tag Cloud

Cron Expression Intellij Jackson Java 8 New Features Java Collections Leetcode - Array Leetcode - Backtracking Leetcode - Binary Search Leetcode - Bit Manipulation Leetcode - Breadth First Search Leetcode - Data Leetcode - Depth First Search Leetcode - Divde and Conquer Leetcode - Dynamic Programming Leetcode - Graph Leetcode - Greedy Leetcode - Hash Table Leetcode - Linked List Leetcode - Math Leetcode - Ordered Map Leetcode - Sliding Window Leetcode - Sort Leetcode - Stack Leetcode - String Leetcode - Topological Sort Leetcode - Tree Leetcode - Two Pointers Leetcode - Union Find Multithreading Stream API hexo
Nick Li © 2020
Hexo Casper