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

    Posts

    • 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
    • Leetcode 36: Valid Sudoku

      Posted on May 23, 2018

      Question Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: [Read More]
      Tags:
      • Leetcode
    • Leetcode 34: Search for a Range

      Posted on May 22, 2018

      Question Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. [Read More]
      Tags:
      • Leetcode
    • Leetcode 35: Search Insert Position

      Posted on May 22, 2018

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 29: Divide Two Integers

      Posted on May 22, 2018

      Question Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator. [Read More]
      Tags:
      • Leetcode
    • Leetcode 28: Implement strStr()

      Posted on May 22, 2018

      Question Implement strStr(). [Read More]
      Tags:
      • Leetcode
    • Leetcode 25: Reverse Nodes in k-Group

      Posted on May 22, 2018

      Question Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. [Read More]
      Tags:
      • Leetcode
      • Hard
      • Review
    • Leetcode 24: Swap Nodes in Pairs

      Posted on May 22, 2018

      Question Given a linked list, swap every two adjacent nodes and return its head. [Read More]
      Tags:
      • Leetcode
    • Leetcode 27: Remove Element

      Posted on May 21, 2018

      Question Given an array nums and a value val, remove all instances of that value in-place and return the new length. [Read More]
      Tags:
      • Leetcode
    • Leetcode 21: Merge k Sorted Lists

      Posted on May 21, 2018

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 18: 4Sum

      Posted on May 21, 2018

      Question Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. [Read More]
      Tags:
      • Leetcode
    • Leetcode 17: Letter Combinations of a Phone Number

      Posted on May 21, 2018

      Question Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. [Read More]
      Tags:
      • Leetcode
    • Leetcode 16: 3Sum Closest

      Posted on May 21, 2018

      Question Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would have exactly one solution. [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