Zhang Xinyan

  • Home

  • Categories

  • Archives

Crack Leetcode 2

Posted on 2018-12-10 | Edited on 2019-01-26 | In Leetcode

#950. Reveal Cards In Increasing Order

We need to find out an order of deck which will reveal the cards in increasing order after several steps.

One intuitive way is reverse the steps, suppose there is deck A which has incresing order, and deck B which is empty at first.
(1) Take one card from the bottom of A, put it at the top of B
(2) Take one card from the bottom of B, put it at the top of B

Read more »

Coursera-Algorithm Week1 Interview Questions

Posted on 2018-12-09 | Edited on 2019-02-03 | In Coursera-Algorithm

These days I am reviewing Algorithm couse in Coursera, which is taught by Prof.Robert Sedgewick and Prof. Kevin Wayne. I found some interview questions are interesting and really worthy to be explored.

Read more »

Crack Leetcode 1

Posted on 2018-12-05 | Edited on 2019-01-26 | In Leetcode

Hello world! I try to write down every progress I’ve made from now on. Start with Leetcode. By acceptance order, I will provide my thinking and answer.

Read more »

12

Zhang Xinyan

13 posts
4 categories
GitHub E-Mail
© 2019 Zhang Xinyan
Powered by Hexo v3.8.0
|
Theme – NexT.Pisces v6.6.0