Sort by

recency

|

2722 Discussions

|

  • + 0 comments

    Focusing only on the technical side of a question doesn't feel right. When I first started looking for web development services, I was primarily focused on that, too. But I lost plenty of customers, who dropped like sand between my fingers. I didn't know what to do. My sister suggested I hire a creative digital agency to sort this out. Of course their technical expertise is top-notch, that is self-explanatory. But they also pay attention to the marketing part, and that was what attracted me to them. Their growth retainer services have been invaluable for my business. That really helped my website’s user experience and conversion rates, which led to noticeable increases in sales. 

  • + 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

    php solution:

    function designerPdfViewer($h, $word) {
         // Write your code here
        $alphabet_lowercase = range('a', 'z');
        $word = str_split($word);
        
        $max_height = 0;
        foreach($word as $w) {
            $index = array_search($w, $alphabet_lowercase);
            if ($h[$index] > $max_height) {
                $max_height = $h[$index];
            }
        }
        $size = $max_height * count($word);
        
        return $size;
    }
    
  • + 0 comments

    The Designer PDF Viewer is an application tailored for individuals who require enhanced customization and functionality when working with PDF documents. Unlike standard viewers, it allows users to adjust design elements such as font sizes, colors, and layouts, making the reading experience more personalized. This tool is particularly beneficial for designers and developers, as it can help visualize and test document aesthetics before finalizing layouts. Additionally, some advanced versions integrate annotation tools, collaboration features, and compatibility with design software, streamlining workflows Mobile advice. By offering a balance between functionality and style, a Designer PDF Viewer caters to both creative and professional needs.

  • + 0 comments

    Java solution:

    public static int designerPdfViewer(List<Integer> h, String word) {
        int asciiOffset = 97;
        int max = h.get(word.charAt(0) - asciiOffset);
        
        for(int i = 1; i < word.length(); i++) {
            if(max < h.get(word.charAt(i) - asciiOffset)) {
                max = h.get(word.charAt(i) - asciiOffset);
            }
        }
        return word.length() * max;
        }