$Title$
$desc$
Feb 7, 2020☕ 10 mins read$desc$
Feb 7, 2020☕ 10 mins readYou are given an array arr of N integers. For each index i, you are required to determine the number of contiguous subarrays that fulfill the following conditions:
Feb 7, 2020☕ 10 mins readYou are given an inclusive range [lower, upper] and a sorted unique integer array nums, where all elements are in the inclusive range.
Feb 7, 2023☕ 10 mins readThere are n students, numbered from 1 to n, each with their own yearbook. They would like to pass their yearbooks around and get them signed by other students.
Mar 16, 2020☕ 10 mins readGiven two arrays A and B of length N, determine if there is a way to make A equal to B by reversing any subarrays from array B any number of times.
Feb 7, 2020☕ 10 mins read$desc$
Feb 7, 2020☕ 10 mins readFibonacci numbers, commonly denoted Fn sequence
Aug 7, 2021☕ 10 mins readGiven a list of n integers arr[0..(n-1)], determine the number of different pairs of elements within it which sum to k.
Feb 7, 2020☕ 10 mins readYou are given a singly-linked list that contains N integers. A subpart of the list is a contiguous set of even elements, bordered either by either end of the list or an odd element. For example, if the list is [1, 2, 8, 9, 12, 16], the subparts of the list are [2, 8] and [12, 16].
Feb 7, 2020☕ 10 mins readFind the missing element in a given permutation.
Jul 21, 2020☕ 2 mins readPalindrome is in reverse also same
Jul 21, 2020☕ 2 mins readYou are given a list of n integers arr, which represent elements in a queue (in order from front to back). You are also given an integer x, and must perform x iterations of the following 3-step process:
Feb 7, 2020☕ 10 mins readCount minimal number of jumps from position X to Y.
Jul 21, 2020☕ 2 mins readGiven two non-negative integers, num1 and num2 represented as string, return the sum of num1 and num2 as a string.
Feb 7, 2023☕ 10 mins readPalindrome is in reverse also same
Jul 21, 2020☕ 2 mins read$desc$
Feb 7, 2020☕ 10 mins readYou are given an array arr of N integers. For each index i, you are required to determine the number of contiguous subarrays that fulfill the following conditions:
Feb 7, 2020☕ 10 mins readYou are given an inclusive range [lower, upper] and a sorted unique integer array nums, where all elements are in the inclusive range.
Feb 7, 2023☕ 10 mins readThere are n students, numbered from 1 to n, each with their own yearbook. They would like to pass their yearbooks around and get them signed by other students.
Mar 16, 2020☕ 10 mins readGiven two arrays A and B of length N, determine if there is a way to make A equal to B by reversing any subarrays from array B any number of times.
Feb 7, 2020☕ 10 mins read$desc$
Feb 7, 2020☕ 10 mins readFibonacci numbers, commonly denoted Fn sequence
Aug 7, 2021☕ 10 mins readGiven a list of n integers arr[0..(n-1)], determine the number of different pairs of elements within it which sum to k.
Feb 7, 2020☕ 10 mins readYou are given a singly-linked list that contains N integers. A subpart of the list is a contiguous set of even elements, bordered either by either end of the list or an odd element. For example, if the list is [1, 2, 8, 9, 12, 16], the subparts of the list are [2, 8] and [12, 16].
Feb 7, 2020☕ 10 mins readFind the missing element in a given permutation.
Jul 21, 2020☕ 2 mins readPalindrome is in reverse also same
Jul 21, 2020☕ 2 mins readYou are given a list of n integers arr, which represent elements in a queue (in order from front to back). You are also given an integer x, and must perform x iterations of the following 3-step process:
Feb 7, 2020☕ 10 mins readCount minimal number of jumps from position X to Y.
Jul 21, 2020☕ 2 mins readGiven two non-negative integers, num1 and num2 represented as string, return the sum of num1 and num2 as a string.
Feb 7, 2023☕ 10 mins readPalindrome is in reverse also same
Jul 21, 2020☕ 2 mins read