473,511 Members | 14,052 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Finding 5 missing numbers from array of 1 million numbers

1 New Member
Finding 5 missing numbers from array of 1 million numbers
( array can be any order but there is no repeated numbers )
Sep 4 '13 #1
1 1788
Nepomuk
3,112 Recognized Expert Specialist
Hi Vivek Sethia and welcome to bytes.com!

This sounds like a homework question and according to our posting guidelines we won't answer those for you. If you want help solving it, please tell us what you've come up with so far and we'll try to help you.

Generally speaking, for most problems (including this one) there are several possible solutions that optimize for different things. You could for example optimize for time but need a lot of memory to solve it. You could also optimize for minimal memory consumption but it may take a long time to find the solution.
Sep 4 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
3018
by: Dave Bazell | last post by:
I have a large array of numbers, say 10,000 rows by 8 columns. The numbers are mostly floating point but some integers. I want to align each column by the decimal point or right justify the...
3
7581
by: jrogers.sw | last post by:
I am using an objectdatasource with a .Net 2.0 ASP page. The SQL for the tableadapter needs to use the IN operator as in WHERE job_id in (111, 222, 333, 444, 555) Job_id is a DBType Decimal and...
4
1742
by: silversnake | last post by:
hi I'm trying to write a function that check through a 2d array of numbers and check if they are in order or not e.g 1 2 3 4 5 6 the function will return TURE 3 2 4 6 1...
6
4956
by: Andrew Tatum | last post by:
I'm having some problems with the below equation. I have no problems when it comes to positives. Negatives create the problem.. C 2 1 4 However, this doesn't work:
1
1459
by: Fumaiks | last post by:
Hi All, Say the original array has numbers 1 to 50. A user is to enter numbers in the next array. If the number in the original array matches the number in the next array, a point is awarded to...
2
4135
by: tuananh87vn | last post by:
Hi ! can anyone help me with the following topic: Find All Duplicates in a List of Numbers - Array implementation - -InitializeTree() -AddNode() -Add into...
2
1852
by: awaisworld13 | last post by:
I want to write a program which take input and save the poistions of the array elements in another array. let if i enter an array A= 4 A=1 A=2 A=3 now the output array will hold 1 2 3
1
2717
by: pavanip | last post by:
Hi, I am developing one windows application in that i am trying to integrate microsoft word programatically. I used web browser control to enter text,saving it as a word document but the saved...
2
3871
by: zceef05 | last post by:
I want to know how we could convert an image into an array of numbers. Furthemore coud you pleezzzzz tell me how we cud rotate this matrix ( please note te commands of java shud be rotating the...
0
7245
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7144
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7427
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4741
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3214
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
449
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.