Our brain is so complex that we are still developing their computational models. Below are two algorithms of our brain, which give us adaptability in various environments.