• 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

    read more…

  • 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

    read more…

  • How to reverse a string in Python 3

    How to reverse a string in Python 3

    To reverse a string in Python the bellow are the best ways so far: Write [::-1] to do slicing in Python starting at first character, until last, step by 1 in reverse (-1). It’s a pretty nice way to impress your imaginary friends. Option 1 Option 2 Whole code demo Write a comment or no,

    read more…

  • How to reverse integer in Python 3

    How to reverse an integer in Python 3. In Python 3 int type is the same as long so there is no need to check for int overflow. In other cases you will have to check for integer max value and min value to avoid a stack overflow. The steps are bellow with each testing

    read more…

  • Find the missing number in an array

    Find the missing number in an array

    Computer science job interview question:Find the missing number in the series.Write a program to calculate the missing number in the series of integers. There are multiple ways to do this bu using the Gauss Sum addition method is a nice trick and it’s faster than any brute-force iteration you might think of.More info https://en.wikipedia.org/wiki/Gauss_sum The

    read more…

  • How to take a screenshot on Android MIUi Xiaomi

    How to take a screenshot on Android MIUi Xiaomi

    There are 3 ways to screenshot on a Xiaomi MIUI 12 smartphone or tablet. 1. Swipe down to show the top menu then press on Screenshot.this will take a screenshot and save it for you.2. Press the power button + Volume down button simultaneously. a screenshot is taken in the same way and tou have

    read more…

  • Rocky Linux vs Centos vs Oracle Linux

    Rocky Linux vs Centos vs Oracle Linux

    Since Centos 8 and Centos Stream came out, I’ve been looking for an alternative Linux operating system for our small web-server. The OS could be Debian based but I would prefer it if it’s RHEL based since I’m used to that. What to choose between Rocky Linux vs Oracle vs RHEL vs Centos Stream now.

    read more…

  • Clean C Drive on Windows 10

    Clean C Drive on Windows 10

    How to clean C drive in Windows 10 and free up disk space? There are a few ways to remove unwanted old files from your PC.This also will make your PC faster. Before deleting any files make sure you don’t need them as they will be gone. Always make a backup of your important files

    read more…

  • 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

    read more…

  • How to take a screenshot on Windows 10 – new, better, faster way

    How to take a screenshot on Windows 10 – new, better, faster way

    How to take a screenshot on Windows 10 faster new way.A screen capture or a screen print / print screen is taking a photo of your desktop to share or save for later.This is the new improved way in Windows 10 .Showing 3 ways to capture the screen aka. screenshot. Oldest way Hit the Prt

    read more…