Author name: Admin

641. Design Circular Deque

leetcode-potd

Design your implementation of the circular double-ended queue (deque). Implement the MyCircularDeque class: MyCircularDeque(int k) Initializes the deque with a maximum size of k. […]

Minimal Cost

gfg-potd

There is an array arr of heights of stone and Geek is standing at the first stone and can jump to one

K Sized Subarray Maximum

gfg-potd

Given an array arr[] and an integer k. Find the maximum for each and every contiguous subarray of size k. Examples: Input: k = 3,

Roof Top

gfg-potd

You are given the heights of consecutive buildings. You can move from the roof of a building to the roof

2416. Sum of Prefix Scores of Strings

leetcode-potd

You are given an array words of size n consisting of non-empty strings. We define the score of a string word as the number of strings words[i] such that word is a prefix of words[i]. For example, if words =

Missing And Repeating

gfg-potd

Given an unsorted array arr of of positive integers. One number ‘A‘ from set {1, 2,….,n} is missing and one number ‘B‘

Scroll to Top