IIT D:
Type : Pen-Paper
NO seating arrangement , common questions and same sequence :) and I haven't said anything about what to do
2 Written exams:
1st Written (30 min) : contains aptitude, C, C++ questions
2nd Written (1 hour) : 3 Coding Questions
1. Find out the maximum contiguous circular sum in array,array may contain positie as well as negative numbers.
2. An array contain n elements, such that next number is obtained by adding either +1 or -1 to previous element. Search any number without using linear scan.
3. Generate a matrix of size m x n such that matrix contains numbers from 1 to mn in spiral order.
example:
3 * 3
output:
1 2 3
8 9 4
7 6 5
No comments:
Post a Comment