Programs for U!

Kriya'11 Code Debugging

26/02/2011 22:20
Here are few problems in Prelims: 1. Merging two sorted array in the first array in O(n) 2. Maximum and Minimum Subsequence Problem 3. Divisibility by 3 without using Mutiplicative Operators 4. Code for fing the Endianess of the System Finals: 1. There are two arrays of the form...

PSG - Kruzade'10 Code Chaos - Finals' Question

24/02/2011 19:27
Here is the Question for you! This is a triangle of points, Each point has been numbered as in the triangle below. The Task is to find whether the given input points will make the following! 1. Triangle, if three points are given. 2. Parallelogram, if four points are given. 3. Hexagon, if six...

Few More Data Struture Questions

21/02/2011 18:13
1. Given two strings. Find whether they are circular palindromes or not -  2. Given a string and find whether it is a palindrome or not 3. Rotate array by n times 4. Remove duplicates in a string 5. Remove the occurences of the character in the string 6. Find whether a linked list is a...

Saravanan Anna's Questions Coll'n-2

21/02/2011 18:12
1. Given a very large sorted array. You don't know the number of elememts, present in the array. How will you find out if the given number is present in the array or not.   2. Try to design an efficient data structure to implement t9 search and insert.   3. Given a pre-order traversal...

Microsoft's Internship Questions - 2011

21/02/2011 18:12
1. Given a matrix of dimension m x n and the elements are random enough. Find the element which occurs in all the m rows of the matrix.   2. Test a code which gives you the english format of a number. Eg. For input "546" output "Five hundred and forty six"   3. Delete a node from the...

Saravanan Anna's Questions Coll'n-1

21/02/2011 18:10
1. Given an array of integers. Shuffle the elements in a random manner.   2. Given a file and a word. Design a neat algorithm to print the line numbers where the word occurs. Discuss all possible solutions.   3. Extending the yesterday's prob. Given N number of files and a word. Find...

NeXus'11 - Bits & Bytes

21/02/2011 18:07
1 (A).Write a program to print the magic square for the given order(odd).                                OR 1 (B).Write a program to print pascal triangle for the given...

Programming Task-1

09/05/2010 22:57
 Implement a menu driven real estate catalogue system that allows users to perform various catalogue maintenance and search tasks.  You are only allowed to use the C programming language.  You are not allowed to use C++.  Please use the “AssignTemplate.c” file given below as the...