You can either read books, use sites like Leetcode or Hackerrank or my favorite - build apps, APIs, or other simple prototypes to get something to work yourself. This always forces me to learn algorithms that solve a real world problem - versus just demonstrating CS skills.