Blog
Home
About
Category
hackerrank
Construct the array
Posted 2 years ago
Given an array of integers and a range of elements that could be in the array, the problem is to find the number of ways to construct the array such that the array has exactly K distinct integers in it
Sam and substrings
Posted 2 years ago
Given a string, the problem is to find the sum of all possible substrings of it