Little by Little

Aha~, stay curious and have fun


  • Home

  • Categories

  • Tags

  • Archives

  • About

Longest Common Subsequence

Posted on 2018-02-22 | In algorithm

Longest common subsequence (LCS) is a classic problem of dynamic programming. The problem is to find out the longest subsequence which presents in the two given sequences. A subsequence is a sequence that appears in the same relative order, but not necessarily contiguous.

The solution of LCS is delicate, and the idea can be applied to many other problems. I will walk through these problems in this post.

Read more »

Two Pointers

Posted on 2018-02-21 | In algorithm

Two pointers is a powerful weapon of solving problems for data structures such as array and list. A classic example is to find out whether there is a cycle in a linked list.

I will collect some typical problems in this post and provide the solutions using two pointers.

Read more »

Hello World

Posted on 2018-02-19 | In misc

This is a blog based on Github Pages and powered by Hexo. The first post created by Hexo is always called “Hello World”, so I keep this title for my first post.

This is not my first blog. I have tried something else before, like wordpress. The problem is that it is hard to find a trustworthy website hosting service for free. Anyway, after doing some research, I think github might be a good choice. It was an easy setup, and a day would be enough to get everything done.

This post is about how to set up a blog using Github and Hexo.

Read more »
123
Heidy

Heidy

23 posts
7 categories
36 tags
GitHub E-Mail
© 2018 Heidy
Powered by Hexo
|
Theme — NexT.Gemini v5.1.4