Sort by

recency

|

2736 Discussions

|

  • + 0 comments

    Here is my c++ solution, you can watch the explanation here : https://youtu.be/tRUU2pSf8fI

    int designerPdfViewer(vector<int> h, string word) {
        int mx = 0;
        for(int el : word) if(h[el - 'a'] > mx) mx = h[el - 'a'];
        return mx * 1 * word.size();
    }
    
  • + 0 comments

    Kotlin:

    fun designerPdfViewer(h: Array<Int>, word: String): Int {
        var max=0
        word.forEach { 
            var count=0
            for(i in 'a'..'z'){
                if(it==i){
                    if(h[count]>max) max=h[count]
                    break
                }
                count++
            }
         }
         return word.length*max
    }
    
  • + 0 comments

    A Designer PDF Viewer is a specialized tool or software designed for displaying PDF documents with enhanced features tailored for design professionals. It offers a visually appealing interface, allowing users to view and interact with PDFs that include intricate graphics, layouts, and man raqsam tan raqsam novel. These viewers may support advanced functionalities like zooming, annotations, and real-time collaboration, making them ideal for architects, graphic designers, and anyone involved in visual content creation.

  • + 0 comments

    Designer PDF Viewer is a crucial tool for those in the realm of design and typography. Its innovative features enable designers to efficiently select, highlight, and analyze text within PDF documents, ensuring precision and accuracy in their creative endeavors. By providing a seamless interface and comprehensive functionality for shop noise-canceling headphones, Designer PDF Viewer empowers designers to navigate through extensive documents with ease, facilitating seamless collaboration and enhancing productivity in the dynamic world of design.

  • + 0 comments

    Python with one line

    def designerPdfViewer(h, word):
        return len(word) * max([h[ord(_) - ord('a')] for _ in word])