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

    Posts

    • Leetcode 43: Multiply Strings

      Posted on June 3, 2018

      Question Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. [Read More]
    • Leetcode 41: First Missing Positive

      Posted on June 3, 2018

      Question Given an unsorted integer array, find the smallest missing positive integer. [Read More]
      Tags:
      • Leetcode
      • Hard
      • Review
    • Leetcode 42: Trapping Rain Water

      Posted on June 3, 2018

      Question Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. [Read More]
      Tags:
      • Leetcode
      • Hard
      • Review
    • Leetcode 48: Rotate Image

      Posted on June 3, 2018

      Question You are given an n x n 2D matrix representing an image. [Read More]
      Tags:
      • Leetcode
    • Leetcode 37: Sudoku Solver

      Posted on June 3, 2018

      Question Write a program to solve a Sudoku puzzle by filling the empty cells. [Read More]
      Tags:
      • Leetcode
      • Backtracking
      • Hard
      • Review
    • Leetcode 40: Combination Sum II

      Posted on June 2, 2018

      Question Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numbers sums to target. [Read More]
      Tags:
      • Leetcode
      • Backtracking
    • Leetcode 33: Search in Rotated Sorted Array

      Posted on June 2, 2018

      Question Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. [Read More]
      Tags:
      • Leetcode
      • BinarySearch
    • Leetcode 32: Longest Valid Parentheses

      Posted on June 2, 2018

      Question Given a string containing just the characters ‘(‘ and ‘)’, find the length of the longest valid (well-formed) parentheses substring. [Read More]
      Tags:
      • Leetcode
      • DP
      • Hard
      • Review
    • Leetcode 70: Climbing Stairs

      Posted on June 1, 2018

      Question You are climbing a stair case. It takes n steps to reach to the top. [Read More]
      Tags:
      • Leetcode
    • Leetcode 69: Sqrt(x)

      Posted on May 31, 2018

      Question Implement int sqrt(int x). [Read More]
      Tags:
      • Leetcode
    • Leetcode 67: Add Binary

      Posted on May 31, 2018

      Question Given two binary strings, return their sum (also a binary string). [Read More]
      Tags:
      • Leetcode
    • Leetcode 58: Length of Last Word

      Posted on May 31, 2018

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 53: Maximum Subarray

      Posted on May 31, 2018

      Question Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. [Read More]
      Tags:
      • Leetcode
      • DP
    • Leetcode 46: Permutations

      Posted on May 24, 2018

      Question Given a collection of distinct integers, return all possible permutations. [Read More]
      Tags:
      • Leetcode
      • Backtracking
    • Leetcode 31: Next Permutation

      Posted on May 24, 2018

      Question Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. [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