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

    Posts

    • Leetcode 22: Generate Parentheses

      Posted on May 20, 2018

      Question Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. [Read More]
      Tags:
      • Leetcode
    • Leetcode 19: Remove Nth Node From End of List

      Posted on May 20, 2018

      Question Given a linked list, remove the n-th node from the end of list and return its head. [Read More]
      Tags:
      • Leetcode
    • Leetcode 20: Valid Parentheses

      Posted on May 20, 2018

      Question Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid. [Read More]
      Tags:
      • Leetcode
    • Leetcode 26: Remove Duplicates from Sorted Array

      Posted on May 20, 2018

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 21: Merge Two Sorted Lists

      Posted on May 20, 2018

      Question Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. [Read More]
      Tags:
      • Leetcode
    • Leetcode 15: 3Sum

      Posted on May 20, 2018

      Question Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. [Read More]
      Tags:
      • Leetcode
    • Leetcode 14: Longest Common Prefix

      Posted on May 20, 2018

      Question Write a function to find the longest common prefix string amongst an array of strings. [Read More]
      Tags:
      • Leetcode
    • Leetcode 11: Container With Most Water

      Posted on May 18, 2018

      Question Given n non-negative integers \(a_1\), \(a_2\), …, \(a_n\), where each represents a point at coordinate \((i, a_i)\). n vertical lines are drawn such that the two endpoints of line \(i\) is at \((i, a_i)\) and \((i, 0)\). Find two lines, which together with x-axis forms a container, such that... [Read More]
      Tags:
      • Leetcode
    • Leetcode 12: Integer to Roman

      Posted on May 18, 2018

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 9: Palindrome Number

      Posted on May 17, 2018

      Question Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. [Read More]
      Tags:
      • Leetcode
    • Leetcode 7: Reverse Integer

      Posted on May 17, 2018

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 6: ZigZag Conversion

      Posted on May 17, 2018

      Question The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line... [Read More]
      Tags:
      • Leetcode
    • Leetcode 5: Longest Palindromic Substring

      Posted on May 17, 2018

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 4: Median of Two Sorted Arrays

      Posted on May 16, 2018

      Question There are two sorted arrays nums1 and nums2 of size m and n respectively. [Read More]
      Tags:
      • Leetcode
      • Hard
      • Review
    • Leetcode 3: Longest Substring Without Repeating Characters

      Posted on May 16, 2018

      Question Given a string, find the length of the longest substring without repeating characters. [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