Language: TypeScript
Strategy: Iterates string, convert to char code integer, align the char code to get the index of height map/array, then find the tallest letter
Functions covered: for loop, Math.max(), String.charCodeAt(), index, length property
Music used:
--------------------------------------------------------------
🎵 Music "Something Blue" by ‘Fool Parsley’
• fool parsley - something blue 🌀 royalty fr...
💿 Listen everywhere:
https://lofihiphop.de/somethingblue
✅ For more Copyright Free Music visit:
https://youtube.tamamusic.com
--------------------------------------------------------------
Tags:
#hackerrank #forloop #ifelse #codinginterview #problemsolving #typescript #javascript