Tag: Google

  • How to enable Dark mode on Google Search

    How to enable Dark mode on Google Search

    To enable dark mode or dark theme on Google Search is now as easy as one click. Google has been rolling out the tark theme for Google search slowly recently and you might already have the dark theme in Google search available. At this time not everyone has dark mode available as this is due…

  • Google Interview 686. Repeated String Match

    Google Interview 686. Repeated String Match

    Google Interview 686. Repeated String Match. Given two strings a and b, return the minimum number of times you should repeat string a so that string b becomes a subscring of sring a.If b cannot be a substring of a after repeating it, return -1. String “acb” repeated 0 times is “”, repeated 1 times…

  • Google 844. Backspace String Compare

    Google 844. Backspace String Compare

    Google Interview 844. Backspace String Compare Given two strings s and t, return True if they are equal. ‘#’ means backspace. Examples Input: s = “ab#c”, t = “ad#c” Output: true Explanation: Both s and t become “ac”. Input: s = “abb#c”, t = “ade#c” Output: false Explanation: s becomes “abc” and t becomes “adc”.…

  • Two Sum Solution [LeetCode 1]

    Two Sum Solution [LeetCode 1]

    Two Sum Solution in Python 3 [LeetCode 1] Given an array of integers nums and a target integer. Return the indexes (not values) of the 2 numbers that add up to the target value. One solution and one element can’t be used twice. Example nums = [1,2,8,7,11,15], target = 13 output= [1,4], indexes start at…

  • LeetCode 482 License Key Formatting Solution

    LeetCode 482 License Key Formatting Solution

    LeetCode 482 License Key Formatting Solution in Python 3. LeetCode 482 Solution 32 ms in Python 3 You are given a license key represented by the string s that contains only alphanumeric characters and dashes. You are also given an integer k. Reformat the string s so that each group contains exactly k characters, except…

  • Google  Leetcode 929 Unique Email Addresses

    Google Leetcode 929 Unique Email Addresses

    Google Interview Questions – Leetcode 929 Unique Email Addresses Fast Solution Level: Easy Analysis Every valid email has a local name and the domain name separated by @ symbol. Dots in the local name are removed when checking for uniqueness. any character after the + sign is ignored. Domain names are left as they are…