►Full C++ Series Playlist: • The C++ Programming Language
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel: / @mikeshah
►Lesson Description: In this lesson I show you how to use nth_element which is useful for various applications related to 'partitioning' data. I'll show you a real world use case with a median filter briefly for image processing. The combination of nth_element with partial_sort can also be useful for finding the 'nth largest' values for a partition. I've found these two algorithmic building blocks very useful for thinking about computation.
►YouTube Channel: / mikeshah
►Please like and subscribe to help the channel!
►Join our free community: https://courses.mshah.io/communities/...