0 votes 0 votes Anuanu asked May 31, 2016 Anuanu 2.7k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Yes.It looks greedy.But it does not provide best sorting time.So We can't say it greedy b'coz greedy gives best results. see https://www.seas.gwu.edu/~ayoussef/cs6212/greedy.html Amit Prakash Tiwari answered Oct 10, 2016 Amit Prakash Tiwari comment Share Follow See all 0 reply Please log in or register to add a comment.