Nitish Chandra1192. Critical Connections in a NetworkThere are n servers numbered from 0 to n-1 connected by undirected server-to-server connections forming a network where connections[i] =…Dec 16, 2019Dec 16, 2019
Nitish Chandra1096. Brace Expansion IIUnder a grammar given below, strings can represent a set of lowercase words. Let’s use R(expr) to denote the set of words the expression…Nov 24, 20191Nov 24, 20191
Nitish ChandraWC 2019 Indian campaignSo finally the dream of pulling ahead of the group of two time WC winners with a third WC is over. The way it ended with India losing 3…Jul 14, 2019Jul 14, 2019
Nitish Chandra992. Subarrays with K Different IntegersGiven an array A of positive integers, call a (contiguous, not necessarily distinct) subarray of A good if the number of different…Mar 11, 2019Mar 11, 2019
Nitish ChandraSmallest Rotation with Highest ScoreGiven an array A, we may rotate it by a non-negative integer K so that the array becomes A[K], A[K+1], A{K+2], ... A[A.length - 1], A[0]…Apr 10, 2018Apr 10, 2018
Nitish ChandraPartition Equal Subset SumGiven a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of…Mar 16, 2018Mar 16, 2018
Nitish ChandraSpecial Binary StringSpecial binary strings are binary strings with the following two properties:Mar 16, 2018Mar 16, 2018
Nitish ChandraSwim in Rising WaterOn an N x N grid, each square grid[i][j] represents the elevation at that point (i,j).Mar 13, 2018Mar 13, 2018