Algorithm:- It work on stack. Step 1. Initialize all the ve…
what is quick sort:- Quick sort is one of the most e…
what is stack:- stack is a linear type of data structure …
code:- #include< stdio.h > int parent [ 10 ]={ 0 }; int find_parent ( int ); …
code:- #include< stdio.h > int main () { int cost [ 10 ][ 10 ], visited […