Category: Computer Software

  • 66. Plus One LeetCode Solution in Python

    66. Plus One LeetCode Solution in Python

    Plus One LeetCode Solution in Python 3. Given a non empty array of decimal digits representing a non-begative integer.Increment the integer, most significant digit is on the left. Each element contains a single digit.No leading zeros except for the number 0. Examples Input: digits = [1,2,3] Output: [1,2,4] Input array represents the int 123 +…

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

  • Remove Weather from Windows 10 Taskbar

    Remove Weather from Windows 10 Taskbar

    News and Interests in taskbar Windows 10 has a new taskbar toolbar called News and Interests. This is enabled after the update KB5001391 All the configurations bellow are valid if you have the News and interests feature that comes with the update. If you don’t have the feature yet, you can enable it by installing…