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

    Posts

    • 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
    • Leetcode 30: Substring with Concatenation of All Words

      Posted on May 24, 2018

      Question You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a concatenation of each word in words exactly once and without any intervening characters. [Read More]
      Tags:
      • Leetcode
      • SlidingWindow
      • Hard
      • Review
    • Leetcode 39: Combination Sum

      Posted on May 23, 2018

      Question Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the candidate numbers sums to target. [Read More]
      Tags:
      • Leetcode
      • Backtracking
    • Leetcode 38: Count and Say

      Posted on May 23, 2018

      Question The count-and-say sequence is the sequence of integers with the first five terms as following: 1. 1 2. 11 3. 21 4. 1211 5. 111221 1 is read off as “one 1” or 11. [Read More]
      Tags:
      • Leetcode
    • ← Newer Posts
    • Older Posts →
    • Email me
    • GitHub
    • LinkedIn
    • Instagram

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

    Powered by Beautiful Jekyll