Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Microsoft C Code Interview Questions

Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like.

35508

Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all.

19217

Give a one-line C expression to test whether a number is a power of 2.

17200

Give a very good method to count the number of ones in a 32 bit number. (caution: looping through testing each bit is not a solution)

24549

program to Reverse a linked list

50701

write a program to Insert in a sorted list

11314

Write a routine that prints out a 2-D array in spiral order

14540

Write, efficient code for extracting unique elements from a sorted list of array. e.g. (1, 1, 3, 3, 3, 5, 5, 5, 9, 9, 9, 9) -> (1, 3, 5, 9).

27595

How to swap two variables, without using third variable ?

189060

how to check whether a linked list is circular.

54486

Write out a function that prints out all the permutations of a string. For example, abc would give you abc, acb, bac, bca, cab, cba. You can assume that all the characters will be unique.

18865

Write a prog to accept a given string in any order and flash error if any of the character is different. For example : If abc is the input then abc, bca, cba, cab bac are acceptable, but aac or bcd are unacceptable.

10885

12633

Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it.

16469

String copy logic in one line.

20104

What are the components of biztalk server architecture?

94

Is the installation of the filter cloths necessary before spreading the gravels at the transformer yards?

998

What is the difference between Singleton design pattern and Factory design pattern?

121

What is internet of everything?

1

Implement a stack with push (), pop() and min() in O(1) time.

131

How to export data to a csv file?

103

Tell us why do we use the “using” statement?

75

Explain mutating triggers.

97

What is DRX? Why do we need it?

947

How will you print the login names of all users on a system?

107

Explain the type of signaling used between two exchanges?

94

Define seam allowance?

1

What are the terminologies of natural language processing?

78

When to go for table partitioning?

15

What is buffering in abap?

99