Junior SDE Online Test at valkyrie: C++/C# Coding Challenges
Interview Experience
3 hours is more than enough for 4 questions. C++ or Csharp must be used. 1- Given a square matrix with values representing pixel colors black and white, implement a function that finds the largest sub
Full Details
3 hours is more than enough for 4 questions. C++ or Csharp must be used. 1- Given a square matrix with values representing pixel colors black and white, implement a function that finds the largest subsquare with all four borders filled with black pixels. The function should compute three values: row and column of the top left corner of the subsquare, and its side length. If no such subsquare exists, the return side length should be set to 0. 2- BST is mentioned earlier. 3- Given two sequences, A is numbers, and B is the number of rotations, return 'a sequence of length equal to B, where the i-th element is the index of the largest value in sequence A after left rotation B[i] times.' 4- Not difficult.