How to host a channel on Twitch (A Step by Step Guide)

There are two ways you can host on Twitch: automatic and manual. 1. Host channels automatically To host a twitch channel automatically whenever you’re offline. You have to create an auto host list. 1. From your Twitch account, click on your “Profile Picture” in the upper-right corner of the screen. 2. Next, click “Settings.” 3. … Read more How to host a channel on Twitch (A Step by Step Guide)


Shortest Common Supersequence in Python

Given two strings str1 and str2, return the shortest string that has both str1 and str2 as subsequences.  If multiple answers exist, you may return any of them. (A string S is a subsequence of string T if deleting some number of characters from T (possibly 0, and the characters are chosen anywhere from T) results in the string … Read more Shortest Common Supersequence in Python


Day of the Week in Python

Given a date, return the corresponding day of the week for that date. The input is given as three integers representing the day, month and year respectively. Return the answer as one of the following values¬†{“Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”}. Example 1: Input: day = 31, month = 8, year = 2019 Output: … Read more Day of the Week in Python


Maximum Subarray Sum with One Deletion in Python

Given an array of integers, return the maximum sum for a non-empty subarray (contiguous elements) with at most one element deletion. In other words, you want to choose a subarray and optionally delete one element from it so that there is still at least one element left and the sum of the remaining elements is maximum possible. Note … Read more Maximum Subarray Sum with One Deletion in Python


Reverse Substrings Between Each Pair of Parentheses in Python

You are given a string s that consists of lower case English letters and brackets.  Reverse the strings in each pair of matching parentheses, starting from the innermost one. Your result should not contain any brackets. Example 1: Input: s = “(abcd)” Output: “dcba” Example 2: Input: s = “(u(love)i)” Output: “iloveu” Explanation:¬†The substring “love” is reversed first, … Read more Reverse Substrings Between Each Pair of Parentheses in Python


Svelte Tutorial: How to import CSS from node_modules in Svelte

In this article, we will learn about how to import a CSS file from node_modules in a Svelte component. We will use Rollup to bundle our app which is the preferred bundler used by svelte. (you might be familiar with webpacker) Install the rollup plugin to process CSS files. 2. After installing the plugin, we … Read more Svelte Tutorial: How to import CSS from node_modules in Svelte