I would be thankful if anyone can answer my question. This is a very basic question. Let's say we wish to minimise the quantity
$$\hat{h}= \|h-h_i\|+\lambda\|h-u\|,$$
where:
$$h=[13,17,20, 17, 20, 14, 17, 18, 16, 15, 15, 12, 19, 13, 17, 13]^\top,\\ h_i=[18, 17, 14, 13, 17, 15, 17, 19, 12, 20, 15, 13, 16, 17, 20, 13]^\top, \\u = [16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16]^\top,\\ \text{with }\lambda \in [0,100].$$
I know this is a very basic question, but please help me to understand. Also, please suggest me any book where I can start from zero to learn to solve these kinds of problems.