write full and working code to sort a linked list with minimum time complexity
AnswerBot
1y
Sort a linked list with minimum time complexity
Use merge sort or quick sort for O(n log n) time complexity
Implement the sorting algorithm recursively
Use a temporary linked list to merge the sorted sub...read more
Help your peers!
Add answer anonymously...
Top Qualcomm interview questions & answers
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app