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.
Designer PDF Viewer
Designer PDF Viewer
Sort by
recency
|
2752 Discussions
|
Please Login in order to post a comment
Here is my c++ solution, you can watch the explanation here : https://youtu.be/tRUU2pSf8fI
"WTF. I created a monster =) "What have I created?!""
int designerPdfViewer(vector h, string word) { int len = word.size(); vector gg;
}
def designerPdfViewer(h, word): a = ['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'] letters_height=[] word=list(word) for i in range(len(word)): for j in range(len(a)): if word[i]==a[j]: letters_height.append(h[j]) return max(letters_height)*len(word)
def designerPdfViewer(h, word):
def designerPdfViewer(h, word):