---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-a27a8ddf63-pCyu6qSPZ5UM-C0tEn6Fb8
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-581b32ffe3-AjbPSdrpIH54VD00H6pGCn
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-065748434d-1fol4afrAuAA64GmyNnfps
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-cfd032407e-KZHmME7K0zvwxfziHzswYo
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-fc12c282fe-J9JTd_oOJYxmy_XJFJPHs7
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-857a5bc484-wFE-GuyngBRbrP_08KJcpK
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-938ebb5b8c-5SIjeCp3NHOiR9X0cdT8Tv
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-e915305ec1-vs57SHRYPU_JF-E7MuBTtk
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-54ab1bb494-5ULZKF1DCAsh4miyEx1Tcd
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-c6dea44c4b-1udApfkKCnNpBIb_1L3NPa
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-d320cda47c-evQ0hjlzcr8kcQhDUP2hRs
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-c8d723e7e1-_0IQlRsmGpldxvgIHXatjd
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-cb9a914ca5-4TUkKGpEhfkbc2RPXVIwYt
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-44a34ca87f-RI_zoBM4CtEQwCHtKKmZP_
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-305e880342-m7ieQIBb_XN3zNTgyXW8uU
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-2ad294eb4b-gP0aP8IejAZbUNR6c-k9Ln
---
ashutosh kumar wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-f7153d7ffd-abaf6917fe-3LpxrI4v3ghKvJLlF-oHze
hey! i am also unable to explain but one thing i got
if we use %d in place of %f,we will get the correct output.
we must use %d as x is of int data type.so thq code is itself
wrong.
or
u can change x to float data type
--
Ashutosh Tripathi
UG Student
Computer
ya ...
but you have to modify the structure ..
keep an extra pointer for max and min in each node ..
that will point to min and max upto that node ..
that means when you enter smthing you have to compare it with previous min
and previous max . and set the pointer accordin to
try that .. its safe .
n*ceil(log_2n)
On Sep 24, 9:23 am, Krunal Modi wrote:
> But, how was it derived ? :(
> What is the intuition behind ? :( :(
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To
Here is a C++ version of the algorithm to solve this problem.
#include
#define TRUE 1
#define FALSE 0
typedef struct Binarr{
int iNumber;
};
class binaryarr{
Binarr * arr;
public:
int iHead;
int iSize;
int iZeroes;
int iOnes;
int iTail;
binaryarr(void);
~bi
Dave, check my pseudo code. Both the tasks of checking if the number of 1s
and 0s is equal and sorting the array seems to to work in a single pass.
2010/8/19 Dave
> It seems easy enough to put all of the zeros in the even positions and
> all of the ones in the odd positions in one pass. The dif
element at the tail by going down the tail.
Regards
Ashutosh
Pseudo code of the algorithm
head = 0;
tail = sizeOfArray;
zeros = 0;
ones = 0;
for (head = 0; head < sizeOfArray; head++) {
if head is odd
{
if array[head] is 0
{
zeros = zeros + 1
if tail = head; tail = tail
Hi Amit
Am I allowed to keep counters to count the number of 1's and 0s right?
The condition of not using extra memory is for the array!?
Regards
Ashutosh
2010/8/18 amit
> you are given an array of integers containing only 0s and 1s. you have
> to place all the 0s in even positio
..
Regards
Ashutosh
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@googlegroups.com.
For more opti
try it by longest common sequence.
then interchange values .
then delete and insert or watever..
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group,
26 matches
Mail list logo