That is algorithm design(Data Structure(Graph theory)only). It's not a puzzle. But in algo design it can come to puzzles as well as Data...
Now i want to make this problem more clear... binary serach algo is as: BinarySearch(A[0..N-1], value) { low = 0 high = N - 1...
All of you alraedy know the binary search..I need not to explain that algorithm... we know that there are two compariosions one for greater than...
You have N computers and [Ca, Cb] means a is connected to b and this connectivity is symmetric and transitive. then write a program which checks...
Goverment should not banned on smoking..It's people intrest they wanna die or not...
provide file also means exp1.cpp & exp2.cpp
i have already told that ...
#include<iostream.h> #include<malloc.h> #define uint unsigned int int main() { uint noOfOverFlow=0,reqSum=0,i,hr[3],min[3],minuteSum=0;...
Same thing you are doing as adding 1h55m + 1h55m = 310 for i=1 to numberofoverflow=1 add 40 t0 310 result will be : 3h 50m Example2...
As per my point of view,... Example 1h 55m + 1h 50 m Add 155+155 take 55 + 55 =110 , nCount=0 Now compare it with 60 (if 110 > 60 ) 110 - 60 =50...
By deliverately i have done that...bcoz that's my signature/slogan/etc that no one can comment on that. But i didn't understand what you mean.....
Right solution!!! By any way You can'nt overload sizeof operator ..So Your solution is nice one... Better If You will take care of all cases....
login as user name and passwd ...Open Your home page and the most down deended you can see " Go to Administration Panel" click on that. If you...
Background Normally most of software Engineer uses singleton design pattern in daily coding life. It's very simple , vast uses but still i saw...
Yes you are right... Only 8 bytes will be.. #include<iostream.h> #include<malloc.h> class A { private: int *i; char *c;...
Check the algorithm for newton's ramson formula .. Actually wahtever you wrote the program that is by Iterative evaluation of a square root check...
what's the mean by this message " you Are" It may be i did'nt get what's you mean...
Nice One!!!
You can check this thread http://www.go4expert.com/showthread.php?t=10396
It's little bit info but important for developer. It should be as contributed not as article.
Separate names with a comma.