python data structures algorithm is step-by-step procedurewhich defines set of instructions to be executed in certain order to get the desired output algorithms are generally created independent of underlying languagesi an algorithm can be implemented in more than one programming language from the data structure point of viewfollowing are some important categories of algorithmssearch algorithm to search an item in data structure sort algorithm to sort items in certain order insert algorithm to insert item in data structure update algorithm to update an existing item in data structure delete algorithm to delete an existing item from data structure characteristics of an algorithm not all procedures can be called an algorithm an algorithm should have the following characteristicsunambiguous algorithm should be clear and unambiguous each of its steps (or phases)and their inputs/outputs should be clear and must lead to only one meaning input an algorithm should have or more well-defined inputs output an algorithm should have or more well-defined outputsand should match the desired output finiteness algorithms must terminate after finite number of steps feasibility should be feasible with the available resources independent an algorithm should have step-by-step directionswhich should be independent of any programming code how to write an algorithmthere are no well-defined standards for writing algorithms ratherit is problem and resource dependent algorithms are never written to support particular programming code as we know that all programming languages share basic code constructs like loops (doforwhile)flow-control (if-else)etc these common constructs can be used to write an algorithm