240 发简信
IP属地:北京
  • A summary: how to use bit manipulation to solve problems easily and efficiently

    Wiki Bit manipulation is the act of algorithmically manipulating bits or other pieces o...

  • QuickSort 快排知识要点及一些改进

    概念 什么是快排? 快速排序由C. A. R. Hoare在1962年提出。它的基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的...

  • 149. Max Points on a Line

    Given n points on a 2D plane, find the maximum number of points that lie on the same st...

  • 202. Happy Number

    Write an algorithm to determine if a number is "happy".A happy number is a number defin...

  • Contains Duplicates I,II,III.

    Three similar questions. Given an array of integers, find if the array contains any dup...

  • 340. Longest Substring with At Most K Distinct Characters

    Given a string, find the length of the longest substring T that contains at most k dist...

个人介绍
IT 🐶 in New York.
阅读,思考,惬意生活~