To implement kinds of Algorithm in data structure