my some algorithm code