Effective use of time and memory - Having knowledge about data structures and algorithms will help you write codes that run faster and require less storage.Write optimized and scalable code - Once you have knowledge about different data structures and algorithms, you can determine which data structure and algorithm to choose in various conditions.