Posts

Optimize Induction For Dynamic Programming

Recently I reviewed some dynamic programming problems and found I was still lack of the ability to come up with the most optimized solution or induction in some cases. So I tried to find out a generic method to optimize one simple basic induction so that I can use it to optimize my dynamic …

Tiny Url System

TinyURL system design is a fairly classic interview question since it can test the abilities of one interviewee from many aspects. This post is to record the idea and tips what I learnt from websites to solve this problems.

Generative Classifier And Discriminative Classifier

Recently I was learning the naive bayes classifier and learnt there are two categories of classifiers to estimate the distribution $P(Y|X)$ based on the given data, Generative Classifier and Discriminative Classifier. I am puzzled on the differences between these two classifiers at the beginning, …

The Bias Variance Tradeoff

The bais and variance tradeoff is an essential idea of machine learning to understand the generalization error of the classifier. By understanding the components of the generlization error, we can improve the classifier more intuitively instead of changing parameters somehow randomly.

Xss Vs. Csrf

Recently I was working on some identity managment projects. During the investigation, I reviewed some security knowledge and found myself didn’t tell three basic concepts quite well. Sometimes, I felt hard to remeber the exact scenarios of them and would misuse one of them to describe the …

Sample Explain Isolation Level

When using a database system, developers need to specify the isolation level to determine how transaction integrity is visible to other concurrent operations. I liked the way how [postgresql][1] define its isolation levels. Its isolation levels are defined in terms of phenomena, resulting from …

User Management Roadmap

Recently, our team was trying to build a new service and my task was to design the new user management component. During the investigation, I learned many previously unknown concepts, which I didn’t have a chane to dive deep on how they really work behind the scene. I would try to sum up some …

S1 Reviews

Recently, I found one of my previous classmate shared the S1-form of a company which is trying to begin it IPO. Actually, I am very interested in these kinds of information. I am courious about how can I find the S1-forms of some other companies which I care about. After some work of searching …

Questions About Celluar Ip

Recently, I am thinking about whether the cell phone has its own ip address and whether the ip address would be changed when moving to another location. The followings are some questions and answers I got when I am trying to track down this issue.

Super Washing Machine

Recently I read a post saying that many interviewees of Amazon have been stuck by a problem called Super Washing Machine. The following are some solutions for this problem.