## Print the nodes at odd levels of a tree

Given a binary tree, print nodes of odd level in any order. Root is considered at level 1. For example consider the following tree 1… Read More »

Given a binary tree, print nodes of odd level in any order. Root is considered at level 1. For example consider the following tree 1… Read More »

Given two sorted lists, merge them so as to produce a combined sorted list (without using extra space). Examples: Input : head1: 5->7->9 head2: 4->6->8… Read More »

Rounds: 1. Aptitude Round 2. Technical Round M1 3. Technical Round M2 4. Technical Round M3 5. HR Round Aptitude Round: There were 20 MCQs… Read More »

Given an array arr[] of n integers, construct a Product Array prod[] (of same size) such that prod[i] is equal to the product of all… Read More »

Given a string of length m containing lowercase alphabets only. We need to find the n-th permutation of string lexicographically. Examples: Input : str[] =… Read More »

Given an array of n numbers. Your task is to read numbers from the array and keep at-most K numbers at the top (According to… Read More »

Written aptitude: This round consists of 20 MCQ’S from OS, c, dbms etc. F2F Round 1: In this round, first she asked about some OOPS… Read More »

Given a linked list, write a function to reverse every k nodes (where k is an input to the function). Examples: Inputs: 1->2->3->4->5->6->7->8->NULL and k… Read More »

Round 1 (APTITUDE) : 20 mcqs in 30 minutes of time -0.25 negative marking Questions were from core computer science subjects and one blood relation… Read More »

Given an array of integers, our task is to write a program that efficiently finds the second largest element present in the array. Example: Input… Read More »

Given two numbers as strings. The numbers may be very large (may not fit in long long int), the task is to find sum of… Read More »

Given two strings, the task is to find if a string can be obtained by rotating another string two places. Examples: Input: string1 = “amazon”,… Read More »

1st round consisted of 20mcq questions to be answered in 30 minutes. Around 120 students appeared for the test. Top 5 were called directly for… Read More »

Given a linked list, find length of the longest palindrome list that exist in that linked list. Examples: Input : List = 2->3->7->3->2->12->24 Output :… Read More »

Given two arrays, the task is that we find numbers which are present in first array, but not present in the second array. Examples :… Read More »