@csCoderHouse Robber problemYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint…Dec 14, 2021Dec 14, 2021
@csCoderDutch flag problemGiven an array of strictly the characters ‘R’, ‘G’, and ‘B’, segregate the values of the array so that all the Rs come first, the Gs come…Jul 8, 2019Jul 8, 2019
@csCoderFind First and Last Position of Element in Sorted ArrayGiven an array of integers nums sorted in ascending order, find the starting and ending position of a given target value.May 16, 2019May 16, 2019
@csCoderArea of two intersecting rectangles.Find the total area covered by two rectilinear rectangles in a 2D plane.May 13, 2019May 13, 2019
@csCoderConstruct String from Binary TreeYou need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way.May 12, 2019May 12, 2019