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

    Posts

    • 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
    • Leetcode 73: Set Matrix Zeroes

      Posted on June 12, 2018

      Question Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. [Read More]
      Tags:
      • Leetcode
    • Leetcode 71: Simplify Path

      Posted on June 12, 2018

      Question Given an absolute path for a file (Unix-style), simplify it. [Read More]
      Tags:
      • Leetcode
    • Leetcode 64: Minimum Path Sum

      Posted on June 12, 2018

      Question Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. [Read More]
      Tags:
      • Leetcode
      • DP
    • ← Newer Posts
    • Older Posts →
    • Email me
    • GitHub
    • LinkedIn
    • Instagram

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

    Powered by Beautiful Jekyll