Data Structure and Algorithms - JavaScript a simple code example for the practices related to Udemy Course I used TypeScript instead of JavaScript for better types and interfaces