Skip to content
All Medium Articles
In C++, const qualifier can be applied to 1) Member functions of a class 2) Function arguments 3) To a class data member which is… Read More
Assume that an integer and a pointer each takes 4 bytes. Also, assume that there is no alignment in objects. Predict the output following program.… Read More
Predict the output of following programTake a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many… Read More
Written Test: 10 Aptitude 30 Programming 10 CS Fundamentals There’s negative marking, plus there’s sectional cutoff, so you have to be very careful, and risky… Read More
I recently got interviewed for a position in Cisco. The organization came to our college for on-campus recruitment. First round: The first round had 30… Read More
Morgan Stanley interview experience 1st round: (90 minutes) It was multiple choice questions round. It consists of 3 sections:Hey geek! It's time to become a… Read More
Is it possible to create a doubly linked list using only one pointer with every node. (A) Not Possible (B) Yes, possible by storing XOR… Read More
Given Inorder and Preorder traversals of a binary tree, print Postorder traversal. Example:Become a success story instead of just reading about them. Prepare for coding… Read More
How can we make a C++ class such that objects of it can only be created using new operator? If user tries to create an… Read More
In a weighted graph, assume that the shortest path from a source ‘s’ to a destination ‘t’ is correctly calculated using a shortest path algorithm.… Read More
What is the use of “#pragma once”? (A) Used in a header file to avoid its inclusion more than once. (B) Used to avoid multiple… Read More
VMWare interview for MTS-2 position. I Telephonic roundHey geek! It's time to become a success story instead of reading them. Check out our most renowned… Read More
Written Test: 10 aptitude and data interpretation questions, questions based on language of ur choice(C/C++/Java), questions on basic Computer skills. I was able to do… Read More
Predict the output of following C program #include <stdio.h> int main() {     char a = 012;        printf("%d", a);        return 0; } (A) Compiler… Read More
Predict the output of following C++ programTake a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and… Read More
Which of the following is true about this pointer? (A) It is passed as a hidden argument to all function calls (B) It is passed… Read More
Given k sorted arrays of size n each, merge them and print the sorted output. Example: Become a success story instead of just reading about them.… Read More
Given a set of points in the plane. the convex hull of the set is the smallest convex polygon that contains all the points of… Read More
The Stable Marriage Problem states that given N men and N women, where each person has ranked all members of the opposite sex in order… Read More
Given a polygon and a point ‘p’, find if ‘p’ lies inside the polygon or not. The points lying on the border are considered inside.… Read More

Start Your Coding Journey Now!