539 Minimum Time Difference
Minimum Time Difference Given a list of 24-hour clock time points in “HH:MM” format, return the minimum minutes difference between any two time-points in the list. Example 1: **Input:** timePo...
Minimum Time Difference Given a list of 24-hour clock time points in “HH:MM” format, return the minimum minutes difference between any two time-points in the list. Example 1: **Input:** timePo...
Find the Longest Substring Containing Vowels in Even Counts Given the string s, return the size of the longest substring containing each vowel an even number of times. That is, ‘a’, ‘e’, ‘i’, ‘o’...
Longest Subarray With Maximum Bitwise AND You are given an integer array nums of size n. Consider a non-empty subarray from nums that has the maximum possible bitwise AND. In other words, let k...
XOR Queries of a Subarray You are given an array arr of positive integers. You are also given the array queries where queries[i] = [lefti, righti]. For each query i compute the XOR of elements f...
Count the Number of Consistent Strings You are given a string allowed consisting of distinct characters and an array of strings words. A string is **consistent **if all characters in the string a...
Spiral Matrix IV You are given two integers m and n, which represent the dimensions of a matrix. You are also given the head of a linked list of integers. Generate an m x n matrix that contains...
Linked List in Binary Tree Given a binary tree root and a linked list with head as the first node. Return True if all the elements in the linked list starting from the head correspond to some d...
Delete Nodes From Linked List Present in Array You are given an array of integers nums and the head of a linked list. Return the head of the modified linked list after removing all nodes from the...
Sum of Digits of String After Convert You are given a string s consisting of lowercase English letters, and an integer k. First, convert s into an integer by replacing each letter with its posit...
Find the Student that Will Replace the Chalk There are n students in a class numbered from 0 to n - 1. The teacher will give each student a problem starting with the student number 0, then the st...