Posts

Showing posts with the label LOGICAL

TCS CodeVita previous years questions Solved – Matrix Rotation

Image
TCS CodeVita previous years questions – 2014 Problem : Matrix Rotations You are given a square matrix of dimension  N . Let this matrix be called  A . Your task is to rotate  A  in clockwise direction by S  degrees, where  S  is angle of rotation. On the matrix, there will be 3 types of operations viz. Rotation Rotate the matrix A by angle S, presented as input in form of A S Q uerying Query the element at row K and column L, presented as input in form of Q K L U pdation Update the element at row X and column Y with value Z, presented as input in form of U X Y Z Print the output of individual operations as depicted in Output Specification Input Format: Input will consist of three parts, viz. 1. Size of the matrix (N) 2. The matrix itself (A = N * N) 3. Various operations on the matrix, one operation on each line. (Beginning either with A, Q or U) -1 will represent end of input. Note: Angle of rotation will a...

TCS Codevita Preparations - Old is Gold

Image
Hello All,                   Hope you would like to sharp your mind and solve some questions that might help you in your career. http://alltricks007.blogspot.in/2017/06/tcs-codevita-n-queen-problem-with.html http://alltricks007.blogspot.in/2017/03/tcs-codevita-2016-round1-question.html http://alltricks007.blogspot.in/2017/03/tcs-codevita-2016-round1-question-logic.html http://alltricks007.blogspot.in/2017/03/tcs-codevita-2016-round1-question-min.html http://alltricks007.blogspot.in/2017/06/tcs-codevita-credit-and-risk-calculator.html http://alltricks007.blogspot.com/2017/06/tcs-codevita-reverse-gear-solution.html http://alltricks007.blogspot.in/2017/06/tcs-codevita-minimum-distance-solution.html http://alltricks007.blogspot.in/2017/06/tcs-codevita-recurring-deposit-question.html http://alltricks007.blogspot.in/2017/06/tcs-codevita-old-quistions.html http://alltricks007.blogspot.in/2017/06/tcs-codevita-question-milkman-and-hi...