📅  最后修改于: 2022-03-11 15:03:43.459000             🧑  作者: Mango
// designer pdf viewer hackerrank solution in javascript
function designerPdfViewer(h, word) {
// Write your code here
let alphabets = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
let sortedWord = word.split('').sort();
let tallestLetter = [];
for(let i=0; i