Apoorv MishraBlack and WhiteGiven the chessboard dimensions. Find out the number of ways we can place a black and a white Knight on this chessboard such that they…Feb 22, 2022Feb 22, 2022
Apoorv MishraN-Queen ProblemThe n-queens puzzle is the problem of placing n queens on a (n×n) chessboard such that no two queens can attack each other. Given an…Feb 22, 2022Feb 22, 2022
Apoorv MishraWord Search II (Word Boggle)Given an m x n board of characters and a list of strings words, return all words on the board.Feb 21, 2022Feb 21, 2022
Apoorv MishraFind median in a streamGiven an input stream of N integers. The task is to insert these numbers into a new stream and find the median of the stream formed by each…Feb 5, 2022Feb 5, 2022
Apoorv MishraEfficiently Merge Two Sorted Arrays Without Using Extra SpaceGiven two sorted arrays arr1[] and arr2[] of sizes n1 and n2 in sorted order. Merge them in sorted order without using any extra space…Feb 2, 2022Feb 2, 2022