Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Given an array of length N containing integers between 1
and N, determine if it contains any duplicates.

Answer Posted / ramkumar

What if the array is

1) 1,2,3,4,5
2) 1,2,2,5,5

both sums to 15!!

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #include called?

1039


Why is it that not all header files are declared in every C program?

1199


What is methods in c?

1071


What are file streams?

1000


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1928


what are the 10 different models of writing an addition program in C language?

1887


Can true be a variable name in c?

1026


what is uses of .net

1722


What is 1d array in c?

1078


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1043


What is the difference between NULL and NUL?

1279


What do you mean by c what are the main characteristics of c language?

1029


What is difference between structure and union in c?

977


Why isnt there a numbered, multi-level break statement to break out

1033


What is masking?

1138