You have an image and you have to find the average of the image i.e. average of all the pixels into one pixel. The pixel has 3 values, R, G and B. Each R, G and B is a 8 bit number. Write the code for it in C.
Development Interview Questions
137,437 development interview questions shared by candidates
Given an array of a 999,999 numbers, from 1 to a 1,000,000, there's one number missing. The array is not sorted, and you can only access the array using a function getNumber(), which pops one number from the array. Each number in the array can only be accessed once. There's one number missing, from 1 to 1 million. which number is this?
How would you call fire brigade if your office catches fire? Consider you dont have internet, telephone, or any means of communication.
Describe a time when you were faced with a difficult problem and how you dealt with it.
1) Implement atoi 2) correct bug in the code that deletes head from linked list 3) Given string of digits like "72388" and int n, delete n characters from the sting such the resulting string contains minimal number representation, you must preserve relative position of digits. Example: if st="72388" and n=2, the answer is 238.
with that go like this: you have an array of string you should print all the word by group. group define: by the same letters and the same number of repeated letter like example: dad,add,dda in same group it should be in O(N)
Program: Let's say U1,U2 are friends and vice versa. So given a list of friends, you need to find unique set of friends. For eg: U1,U2 U2,U3 U4,U5, U2,U1, U4,U5 Should return: U1,U2; U2,U3; U4,U5
I was asked about my qualifications for data warehousing
Java Singleton (volatile, synchronize), HashMap, Heavier coin, segregate odd & even number from array list, left view of binary tree, remove larger element from right side of linked list. Reverse a singly linked list,
why are you here, I dont have your company interviewer name.
Viewing 1561 - 1570 interview questions