Baihu Qian 钱柏湖
  • Posts
  • Tag Index
  • Search
Navigation bar avatar
✕

    Posts

    • Leetcode 93: Restore IP Addresses

      Posted on June 16, 2018

      Question Given a string containing only digits, restore it by returning all possible valid IP address combinations. [Read More]
      Tags:
      • Leetcode
      • Backtracking
    • Leetcode 92: Reverse Linked List II

      Posted on June 16, 2018

      Question Reverse a linked list from position m to n. Do it in one-pass. [Read More]
      Tags:
      • Leetcode
    • Leetcode 91: Decode Ways

      Posted on June 16, 2018

      Question A message containing letters from A-Z is being encoded to numbers using the following mapping: [Read More]
      Tags:
      • Leetcode
      • DP
      • Hard
      • Review
    • Leetcode 90: Subsets II

      Posted on June 16, 2018

      Question Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). [Read More]
      Tags:
      • Leetcode
    • Leetcode 89: Gray Code

      Posted on June 14, 2018

      Question The gray code is a binary numeral system where two successive values differ in only one bit. [Read More]
      Tags:
      • Leetcode
    • Leetcode 88: Merge Sorted Array

      Posted on June 14, 2018

      Question Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. [Read More]
      Tags:
      • Leetcode
    • Leetcode 86: Partition List

      Posted on June 14, 2018

      Question Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. [Read More]
      Tags:
      • Leetcode
    • Leetcode 82: Remove Duplicates from Sorted List II

      Posted on June 14, 2018

      Question Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. [Read More]
      Tags:
      • Leetcode
    • Leetcode 81: Search in Rotated Sorted Array II

      Posted on June 14, 2018

      Question Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. [Read More]
      Tags:
      • Leetcode
      • BinarySearch
      • Hard
      • Review
    • Leetcode 79: Word Search

      Posted on June 14, 2018

      Question Given a 2D board and a word, find if the word exists in the grid. [Read More]
      Tags:
      • Leetcode
      • Backtracking
    • Leetcode 78: Subsets

      Posted on June 13, 2018

      Question Given a set of distinct integers, nums, return all possible subsets (the power set). [Read More]
      Tags:
      • Leetcode
      • Backtracking
    • Leetcode 77: Combinations

      Posted on June 13, 2018

      Question Given two integers n and k, return all possible combinations of k numbers out of 1 … n. [Read More]
      Tags:
      • Leetcode
      • Backtracking
    • Leetcode 75: Sort Colors

      Posted on June 13, 2018

      Question Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white and blue. [Read More]
      Tags:
      • Leetcode
    • Leetcode 240: Search a 2D Matrix II

      Posted on June 13, 2018

      Question Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: [Read More]
      Tags:
      • Leetcode
    • Leetcode 74: Search a 2D Matrix

      Posted on June 13, 2018

      Question Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: [Read More]
      Tags:
      • Leetcode
    • ← Newer Posts
    • Older Posts →
    • Email me
    • GitHub
    • LinkedIn
    • Instagram

    Baihu Qian  •  2025  •  baihuqian.github.io  •  Edit page

    Powered by Beautiful Jekyll