Which cycle performs quickier? for (int i=0; i<1000; i++) for (int j=0;j<100;j++) or for (int i=0; i<100; i++) for (int j=0;j<1000;j++)
Software Development Interview Questions
36,992 software development interview questions shared by candidates
Suppose you have a C++ base class and several classes that inherit from it. What might happen if you do not write a virtual destructor for the base class?
How many people can you stuff in a school bus
Given a string "aaabbc", convert it to "3a2b1c". Output the result only its length is smaller than the input length.
How many lines of code I wrote for the project I worked on?
Given inorder and preorder traversals of a tree, reconstruct the tree.
How will you implement word ladder puzzle
what was the one question you had expected ut were not asked?
I am given eight same size balls, one ball has less weight than others, how to find the ball in two step.
Write code in your favorite programming language that will accept two strings and return true if they are anagrams.
Viewing 1071 - 1080 interview questions