Give the sizeof of the following struct : struct{ char a,b; int c; }
Intern Software Interview Questions
17,740 intern software interview questions shared by candidates
how do you find out if there is a cycle in linked list.
design an algorithm to check if there are overlaps between a group of intervals
Write a function to return the longest common prefix between two strings.
Given list of revision numbers and build statuses (OK or FAILED). Example : { (10001,OK ) , (10002, OK) , (10003, FAILED) , (10004,FAILED) } Find number of revision where build has failed in first time.
Given a really big file with a lots of Facebook posts, find the ten most used words.
LCA problem with no parent pointers. Given the root of a tree and pointers to two nodes contained in that tree, return the lowest common ancestor of the two nodes. IE, the common ancestor furthest from the root.
4. What is the format of the floating point number? What does the following code do? Does it terminate? Float f,g; f=0; do{ g=f++; } While ((f-g)!=0);
Given an array of 1000 element, how will you find the element repeated twice in O(n) complexity
Q) How would you all values from the nodes of a given binary tree into a string and then deserialize the string and put it back in the binary tree?
Viewing 151 - 160 interview questions