3. Longest Substring Without Repeating Characters

Leetcode Solutions

Longest Substring Without Repeating Characters Difficulty: Medium Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = “abcabcbb” Output: 3 Explanation: The answer is “abc”, with the length of 3. Example 2: Input: s = “bbbbb” Output: 1 Explanation: The answer is “b”, with the length […]

2. Add Two Numbers Leetcode Solution

Leetcode Solutions

Add Two Numbers Leetcode Solution Difficultry: Medium You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list. You may assume the two numbers do not contain […]

344. Reverse String Leetcode Solution

Leetcode Solutions

Reverse String Leetcode Solution Difficulty: Easy Topics: Two Pointers, String Write a function that reverses a string. The input string is given as an array of characters s. You must do this by modifying the input array in-place with O(1) extra memory. Example 1: Input: s = [“h”,”e”,”l”,”l”,”o”] Output: [“o”,”l”,”l”,”e”,”h”] Example 2: Input: s = […]

1. Two Sum Leetcode Solution

Leetcode Solutions

Two Sum Leetcode Solution Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order. […]

EnqueuedStylesScope || This style is being loaded in all contexts.

EnqueuedStylesScope

While developing a WordPress theme or plugin sometimes we face this error EnqueuedStylesScope or This style is being loaded in all contexts for our CSS or JS file. This could be for Bootstrap or other css and JS too. Let’s find out How can we fix this error.   This style is being loaded in […]