Author name: Admin

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