STL (140)
OOPS (873)
C++ General (2409) You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.
4 12356Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
1 5849
How many standards of c++ are there?
What is null c++?
Write a program that ask for user input from 5 to 9 then calculate the average
What is c++ & why it is used?
How can a C function be called in a C++ program?
What is ifstream c++?
What is virtual destructor ans explain its use?
What is object in c++ wikipedia?
What is a type library?
What is constructor in C++?
How does a C++ structure differ from a C++ class?
Can we inherit constructor in c++?
What does catch(…) mean?
Describe the setting up of my member functions to avoid overriding by the derived class?
What are different types of loops in c++?