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

Tag: Leetcode - Two Pointers

Tags

Data Structure and Algorithms | 2020-05-20

Leetcode 209. Minimum Size Subarray Sum

Question Find the smallest continuous sub-array such that the sum of the sub- ...

Nick Li
Nick Li
7 min read
Data Structure and Algorithms | 2020-04-24

Leetcode 142. Linked List Cycle II

Question Given a linked list, determine the entry point of the loop. The entry point is essential ...

Nick Li
Nick Li
8 min read
Data Structure and Algorithms | 2020-02-24

Leetcode 86. Partition List

Question The question is essentially the partition of quick-sort. The linked list is divided into ...

Nick Li
Nick Li
5 min read
Data Structure and Algorithms | 2020-02-19

Leetcode 61. Rotate List

Question Move the last linked list node to the front and repeat the process k times. Similar Ques ...

Nick Li
Nick Li
3 min read
Data Structure and Algorithms | 2020-02-17

Leetcode 19. Remove Nth Node From End of List

Question Given a linked list, delete the nth node from the end. Solution - 2 PassDeleting a node ...

Nick Li
Nick Li
6 min read
Data Structure and Algorithms | 2020-02-04

Leetcode 3. Longest Substring Without Repeating Characters

Question Given a string, find the longest substring without repeated characters and return its len ...

Nick Li
Nick Li
6 min read
Data Structure and Algorithms | 2020-01-12

Leetcode 80. Remove Duplicates from Sorted Array II

Question Remove duplicates from a sorted array in-place, such that duplicates appears at most twic ...

Nick Li
Nick Li
2 min read
Data Structure and Algorithms | 2020-01-05

Leetcode 75. Sort Colors

Question Give an array containing only 0, 1, and 2, sort the numbers from small to large. Similar ...

Nick Li
Nick Li
5 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
12NEXT →
— 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