Today I spent some time on practicing coding. When I was trying to solve a problem about finding paths with elements whose sum equals to a specified value, given a binary tree and a value, I stumble against some unknown problems.

Continue reading “Trick on Appending a List to Another List in Python”## Detection for Abnormal Params with HMM (with Code)

Recently, I am studying on intrusion detection with machine learning, hoping to use what I have learned this semester in Machine Learning course to solve some real life problems. The first topic is using Hidden Markov Models to detect abnormal input for parameters.

Continue reading “Detection for Abnormal Params with HMM (with Code)”## K Sum Problem

K sum problems are the sort of problems that asking you to find the k numbers whose sum is the target when given a number array or list. On LeetCode, there are two sum and three sum problems. Today, I am gonna discuss such kind of problems.

Continue reading “K Sum Problem”