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

Category: Data Structure and Algorithms

Categories

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 ...

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

Leetcode 49. Group Anagrams

Question Given multiple strings, categorize them. As long as the strings contain exactly the same ...

Nick Li
Nick Li
2 min read
Data Structure and Algorithms | 2020-02-11

Leetcode 98. Validate Binary Search Tree

Question Given a tree, determine if the tree is a valid binary search tree. The binary search tree ...

Nick Li
Nick Li
7 min read
Data Structure and Algorithms | 2020-02-09

Leetcode 94. Binary Tree Inorder Traversal

Question In-order traversal of a binary tree. Similar Questions Medium - 98. Validate Binary Sear ...

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

Leetcode 93. Restore IP Addresses

Question Give a string and output all possible IP addresses. Note that results like 01.1.001.1 wh ...

Nick Li
Nick Li
8 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-02-03

Leetcode 60. Permutation Sequence

Question Given an n, not to output its full permutation, but to arrange all combinations from smal ...

Nick Li
Nick Li
7 min read
Data Structure and Algorithms | 2020-01-30

Dynamic Programming

Basic ConceptThe process of dynamic programming is: each decision depends on the current state, and ...

Nick Li
Nick Li
14 min read
Data Structure and Algorithms | 2020-01-28

Leetcode 96. Unique Binary Search Trees

Question Similar to 95. Unique Binary Search Trees II. This time just need to count the number of ...

Nick Li
Nick Li
5 min read
Data Structure and Algorithms | 2020-01-22

Leetcode 95. Unique Binary Search Trees II

Question Given n, use these numbers 1 ... n to generate all possible binary search trees. Similar ...

Nick Li
Nick Li
5 min read
← PREV1…345678NEXT →
— 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