Given a binary tree with integer values at each node, verify that it is a binary search tree.
Intern Interviews
Intern Interview Questions
An intern works in a professional environment to gain practical, meaningful, and work-related experience in their chosen field or career. Interns are trainees who sign up to work for an organization for a short period of time to gain experience. Interns may be unpaid, partially paid, or paid.
Top Intern Interview Questions & How To Answer
Question #1: Can you tell me about a time you failed something, either in school or at a job?
Question #2: How did you land in this particular field?
Question #3: What do you hope to gain from this experience?
248,449 intern interview questions shared by candidates
void fun1(struct node* head) { if(head == NULL) return; fun1(head->next); printf("%d ", head->data); }
Here is a problem P. How many ways can you solve P? What's the pros and cons of each implementation? E.g. what is the best way to represent a matrix?
DSA question: I was given a list of elements to begin with. My task was to insert the elements in a binary search tree such that the height of the tree remains minimum.
What is your experience and why hospitality.
Was asked a question to remove duplicate elements in an array
How to reverse a string
Classic one from them: You have an array and you want to find the first non-repeating element.
If you have all the companies that are traded, and live inputs are coming of which company is being traded and what is the volume, how do you maintain the data, so that you can carry out operation of giving the top 10 most traded companies by volume of shares most efficiently.
1) Find the intersection of two arrays as a set. 2) Find the mirror or a binary tree. 3) Find the first non unique character in a stream of potentially infinite data.
Viewing 1191 - 1200 interview questions