Homepage Articles Tags About
img

John Zhang

A interesting guy

John Zhang' Blog

Move fast, be bold

Change takes time


  • Homepage
  • Articles
  • Tags
  • About
  1. Next Greater lexicographical Permutation |字典序

    Implement**next permutation**, which rearranges numbers into the lexicographically next greater permutation of numbers.

    2018-12-22
    Array  Medium 
    read all »

  2. Median of Two Sorted Arrays

    Find the median of the two sorted arrays within time O(log(n))

    2018-12-22
    Array  BinarySearch  Hard 
    read all »

  3. LRU Cache

    Design and implement a data structure for LRU.

    2018-12-21
    Design  Hard 
    read all »

  4. Deep Copy Linked List with Random Pointer

    A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list.

    2018-12-21
    LinkedList  HashTable  Medium 
    read all »

  5. Technical Report for CS 6421 Distributed Systems

    conclude the topics I've learned about this semester

    2018-12-09
    Course 
    read all »

  6. Computer Network Exam2 Review outline

    Chapter 4,5,8,9

    2018-12-01
    Course 
    read all »

  7. Contains Duplicate | 判断数组中是否有重复元素

    Given an array of integers, find if the array contains any duplicates.

    2018-05-16
    Array  HashTable  Easy  Medium 
    read all »

  8. Remove Duplicates from Sorted Array | O(1)空间内移除数组重复内容

    Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.

    2018-05-11
    Array  TwoPointers  Easy 
    read all »

  9. Move Zeroes | 把0移到数组末尾

    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.

    2018-04-01
    Array  TwoPointers  Easy 
    read all »

  10. Simple Regular Expression Matching

    Implement regular expression matching with support for '.' and '*'.

    2018-02-23
    DynamicProgramming  Backtracking  Hard 
    read all »

  11. Product of Array Except Self

    Given an array nums[], return an array such that output[i] is equal to the product of all the elements of nums except nums[i]

    2018-02-18
    Array  Medium 
    read all »

  12. 3 Sum

    Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.

    2018-02-14
    TwoPointers  Array  Medium 
    read all »

  13. Linked List Cycle

    Given a linked list, determine if it has a cycle in it.

    2018-02-13
    TwoPointers  LinkedList 
    read all »


1 / 1
  • Github
  • Email

Copyright © John Zhang' Blog 2018