Topic — Add New » Posts Last Poster Freshness
Facebook Interview Question for Software Engineer/Developer (Fresher) about Algorithms, Data Structu 7 rajcools 11 months

Implement function to find needle from a haystack. Interviewer was looking for coding skills.

Facebook
Amazon Interview Question for Software Engineer/Developer about Data Structure 2 WgpShashank 1 year

Given a stream of numbers, design a data structure to store the numbers in the stream along with their no. of occurrences

Amazon
Amazon Interview Question for Software Engineer/Developer (0 - 2 Years) about Algorithms, Data Struc 3 WgpShashank 1 year

Implement auto calling functionality of the mobile phone(T9)

Amazon
Amazon Interview Question for Software Engineer/Developer (0 - 2 Years) about Algorithms, Data Struc 1 ankit 1 year

given an n*m matrix of letters and a dictionary find all the valid words from it.Implement the functions that you wud use on dictionary .Ex func like bool isValidWord(String) ..which you would use on dictionary

Amazon
Amazon Interview Question for Software Engineer/Developer (Fresher) about Algorithms, Data Structure 3 sanjeev 1 year

write a program to generate the Dyck Word from given string.??

A Dyck word is a string consisting of n X's and n Y's such that no initial segment of the string has more Y's than X's

Amazon
Amazon Interview Question for Software Engineer/Developer (Fresher) about Algorithms, Data Structure 7 sreenivas 1 year

how you will find the lowest common ancestor(LCA) in Binary Tree..its clear its Binary Tree not The4 Binary Search Tree ??

Amazon
Amazon Interview Question for Software Engineer/Developer (Fresher) about Data Structure 3 Ashwini 1 year

How to delete the duplicates in a Binary Tree?

Description:
eg. Tree
A
B C
D.C -.F
FH

output:
A
B C
D.H -.F

Here C & F are repeated. If a node value is duplicated, the duplicated value which comes later in the BFS of the tree should be eliminated, its left/right child should be linked to the deleted node's parent (if the children are not duplicated values).

Amazon
Google Interview Question for Software Engineer/Developer (Fresher) about Algorithms, Data Structure 9 Sambasiva 1 year

What is the shortest single line in a C program which will take more than a google years to execute, but will eventually complete? You are permitted to have code before or after the line, but execution of the code must remain on that line, meaning no function calls, etc. Assume a processor which executes 1 billion operations a second.

Google
Amazon Interview Question for Software Engineer/Developer (Fresher) about Algorithms, Data Structure 3 simy 1 year

Design a jigsaw puzzle?

Amazon
Adobe Interview Question for Software Engineer/Developer (Fresher) about Algorithms, Data Structure 4 kartik 1 year

Find the k-th Smallest Element in the Union of Two Sorted Arrays

Adobe
push() , pop(), max_stack() in O(1) complexity. 2 WgpShashank 1 year

Given a stack and any other data structure

write the code for push() , pop(), max_stack() in O(1) complexity.

[closed] Amazon Interview Question for Software Engineer/Developer (2-5 Years) about Algorithms, Data Structu 2 Kaushal 1 year

Give a non recursive algorithm that performs an inorder traversal without using a stack or any extra space.

Amazon
Amazon Interview Question for Software Engineer/Developer (Fresher) 8 1 year

Design a data structure that supports integer of unlimited size.Assume that you have unlimited memory. Implement functions to support addition and subtraction.

Amazon
Google Interview Question for Software Engineer/Developer about Data Structure 5 Vardges Avetisyan 1 year

What is the possible problem if Hash Table grows more than 30 gb (ignore problems like bad hash function)

Google
Interview Question for Software Engineer/Developer about Data Structure 2 blunderboy 1 year

Suggest the data structures for Notepad?

Microsoft Interview Question (Fresher) about Data Structure 1 freak 1 year

You are developing a component that requries parsing a lot of XML tags. You have abstracted the responsibility of finding the handler to a class named XMLElement Dictionary. Your will be invoking GetHandlerTag method of this class to find the corresponding handler method for a given element name (code snippet is shown below).

Typedef HRESULT(*PFNElementHandler)(IXMLAttribute* pAttributes, unsigned_int32nAttributes);

PFNElementHandler pfnElementHandler =( PFNElementHandler)
xmlEleme...
Microsoft
Microsoft Interview Question (Fresher) 1 1 year

A mail server exposes an interface as mentioned below. When given a day in the calendar a user, it gets the meetings mentioned as slots in calendar with start and end time for each meeting.

CalendarSlot *GetMeetings(char[] username, unsigned int day);
typedef struct
{
unsigned int StartTime;
unsigned int endTime;
}CalendarSlot

The developer has implemented a mail client function as mentioned below. This function takes in a list of users, internally uses the GetMeetings mai...

Microsoft