Topic — Add New » Posts Last Poster Freshness
Tejas Network Interview Question for Software Engineer/Developer (Fresher) about Linked Lists 1 Ajay Mall 2 years

Delete the node from link list,You have the pointer of that node only?

Tejas Network
Interview Question for Software Engineer/Developer (Fresher) about Linked Lists 3 Sandeep 2 years

How would you print a linked list in reverse order, you r not allowed to change the list

Amazon Interview Question for Software Engineer/Developer (2-5 Years) about Linked Lists, Trees 3 Kapil 2 years

given a binary tree, convert it to doubly linked list. if you are going for a company interview, then read the solution before interview.

Amazon
Google Interview Question for Software Engineer/Developer about Linked Lists 2 amarkrdubedy 2 years

There is a linked list of numbers of length N. N is very large and you don’t know N. You have to write a function that returns k random numbers from the list. Numbers should be completely random.

Google
IBM Interview Question for Software Engineer/Developer about Arrays, Linked Lists 2 Shekhu 2 years

compare linked list and arrays

IBM
DE Shaw Interview Question for Software Engineer/Developer (Fresher) about Linked Lists 1 vaibhav 2 years

They asked to write a program to merge two sorted lists..

DE Shaw
Microsoft Interview Question for Software Engineer/Developer (Fresher) about Linked Lists 2 kartik 2 years

Two singly linked, sorted (by ascending order) lists l1, l2. Write a recursive function that returns the intersection of these two lists. For the resulting list you have to use elements of the two lists only and no extra memory. All extra nodes should be deleted using "free()".

typedef struct node
{
int data;
struct node* next;
}

Function should be:

node* SortedIntersection(node* l1, node* l2)

Microsoft
Microsoft Interview Question for Software Engineer/Developer (Fresher) about Linked Lists 2 Sandeep 2 years

remove duplicates from and unsorted list, optimize it.

Microsoft
Microsoft Interview Question for Software Engineer/Developer about Linked Lists 2 Sandeep 2 years

reverse a linked list, with and without recursion.

Microsoft
Microsoft Interview Question for Software Engineer/Developer about Linked Lists 3 kartik 2 years

You are given two unsorted linked lists, get their union.
Eg. a) 1->9->9->5->7->8->9->7
b) 44->33->1->9->55

Result:
1->9->5->7->8->44->33->55
The elements in the result can be in any order
1

Microsoft
Microsoft Interview Question about Linked Lists 4 2 years

Write a function that would: return the 5th element from the end in a singly linked list of integers, in one pass, and then provide a set of test cases against that function

Microsoft
Google Interview Question for Software Engineer/Developer (0 - 2 Years) about Linked Lists 2 kartik 2 years

Convert a doubly linked list to a binary search tree in place.

Google
Amazon Interview Question about Linked Lists 2 kartik 2 years

Given a pointer to a node in a singly linked list, how do you delete the node?

Amazon
Amazon Interview Question about Linked Lists 2 Sandeep 2 years

Program to tell if a singly linked list is circular.

Amazon
Adobe Interview Question for Software Engineer/Developer (0 - 2 Years) about Linked Lists 1 Kapil 2 years

Write a program for deleting a node in Doubly Linked list.

Adobe
Interview Question for Software Engineer/Developer (2-5 Years) about Linked Lists 2 kartik 2 years

Given a linked list with 'n' numbers and a number X, find numbers in the list that add up to the value of the given number X.
Input Linked List = {6,4,2,5,9,3,1,5,7,8,2}
X = 6
Output = {4,2} or {5,1} or {3,1,2}

count number of nodes in a singly LinkedList which contains a loop. 2 2 years

count number of nodes in a singly LinkedList which contains a loop.