We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Just finished helping my kid set up his new kids airbed for a sleepover! While I was at it, I stumbled upon this PDF highlighter problem—kinda fun figuring out the highlighted area based on letter heights. It’s like measuring how tall his alphabet blocks would stack up, but with numbers. The kids airbed is ready, and now I’ve got coding puzzles to keep me busy too—win-win! 😄
(Your problem's solution is simple: find the tallest letter in the word using the given heights, then multiply that height by the word's length—since each letter is 1 unit wide. Easy peasy!)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Designer PDF Viewer
You are viewing a single comment's thread. Return to all comments →
Just finished helping my kid set up his new kids airbed for a sleepover! While I was at it, I stumbled upon this PDF highlighter problem—kinda fun figuring out the highlighted area based on letter heights. It’s like measuring how tall his alphabet blocks would stack up, but with numbers. The kids airbed is ready, and now I’ve got coding puzzles to keep me busy too—win-win! 😄
(Your problem's solution is simple: find the tallest letter in the word using the given heights, then multiply that height by the word's length—since each letter is 1 unit wide. Easy peasy!)