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

    Posts

    • Leetcode 13: Roman to Integer

      Posted on May 10, 2016

      Question Given a roman numeral, convert it to an integer. [Read More]
      Tags:
      • Leetcode
    • Leetcode 169: Majority Element

      Posted on February 15, 2016

      Question Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. [Read More]
      Tags:
      • Leetcode
      • Review
    • Leetcode 217: Contains Duplicate

      Posted on February 15, 2016

      Question Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if every element is distinct. [Read More]
      Tags:
      • Leetcode
    • Leetcode 171: Excel Sheet Column Number

      Posted on February 15, 2016

      Question Related to question Excel Sheet Column Title [Read More]
      Tags:
      • Leetcode
    • Leetcode 226: Invert Binary Tree

      Posted on February 6, 2016

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 237: Delete Node in a Linked List

      Posted on February 6, 2016

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 283: Move Zeroes

      Posted on February 6, 2016

      Question Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non-zero elements. [Read More]
      Tags:
      • Leetcode
    • Leetcode 100: Same Tree

      Posted on February 6, 2016

      Question [Read More]
      Tags:
      • Leetcode
    • Leetcode 292: Nim Game

      Posted on February 5, 2016

      Question You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who removes the last stone will be the winner. You will take the first turn... [Read More]
      Tags:
      • Leetcode
    • Leetcode 66: Plus One

      Posted on February 5, 2016

      Question Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. [Read More]
      Tags:
      • Leetcode
    • Leetcode 104: Maximum Depth of Binary Tree

      Posted on February 5, 2016

      Question Given a binary tree, find its maximum depth. [Read More]
      Tags:
      • Leetcode
    • Leetcode 206: Reverse Linked List

      Posted on January 27, 2016

      Question Reverse a singly linked list. [Read More]
      Tags:
      • Leetcode
    • Leetcode 8: String to Integer (atoi)

      Posted on January 27, 2016

      Question Implement atoi to convert a string to an integer. [Read More]
      Tags:
      • Leetcode
    • VIM Cheetsheet

      Posted on December 7, 2015

      Normal Mode Note: Prefix a cursor movement command with a number to repeat it. For example, 4j moves down 4 lines. [Read More]
      Tags:
      • Linux
    • ← Newer Posts
    • Email me
    • GitHub
    • LinkedIn
    • Instagram

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

    Powered by Beautiful Jekyll