-
[Introduction to Algorithms, CLRS] Exercise 1.1-1알고리즘 2017. 8. 14. 12:14
This is a solution for Introduction to Algorithms. I write this for my study purpose.
1.1-1 Give a real-world example that requires sorting or a real-world example that re- quires computing a convex hull.
Answer:
1) Sorting:
- Contact list in my smart phone, alphabetically sorted.
- Email list in Gmail app, sorted in time.
2) Convex Hull:
(I think this is the most interesting answer that I found on the web.)
It is used in robot motion planning:
In order to get from s to t, the shortest path will either be the straight line from s to t (if the obstacle doesn't intersect it) or one of the two polygonal chains of the convex hull.
source: https://www.quora.com/What-are-the-real-life-applications-of-convex-hulls/answer/Nihal-Balani
'알고리즘' 카테고리의 다른 글
[Introduction to Algorithms, CLRS] Exercise 1.1-3 (0) 2017.08.14 [Introduction to Algorithms, CLRS] Exercise 1.1-2 (0) 2017.08.14 [문제해결을 위한 창의적 알고리즘] 전깃줄 (고급, p249) (0) 2017.04.15 [문제해결을 위한 창의적 알고리즘] 경비행기 (고급, p232) (0) 2017.04.01 [문제해결을 위한 창의적 알고리즘] 암벽등반 (고급, p225) (0) 2017.03.11