Linear-Time Algorithm To Remove Duplicate Characters From A String | C Programming Example
2.9K views on YouTube
How to remove the duplicate occurrences of characters from a string in C, using a high performance linear-time algorithm. This algorithm is more efficient than an alternative algorithm created in this video: https://www.youtube.com/watch?v=4iaYlp-axac, though notably it uses an additional array to keep track of duplicate characters and as a result is less space-efficient in that it uses more memory. Source code: https://github.com/portfoliocourses/c-example-code/blob/main/remove_duplicates_efficient.c. Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!