For a given number when divided by a number between 1 and n. I figured out
that highest reminder can be got if I divide the number by (⌊(n/2)⌋+1) .Can
anyone give me pointers ?
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To unsubscribe
emails from it, send an
email to algogeeks+unsubscr...@googlegroups.com.
--
regards,
soumya prasad ukil
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To unsubscribe from this group and stop receiving emails from it, send an email
Algorithm Geeks group.
To unsubscribe from this group and stop receiving emails from it, send an
email to algogeeks+unsubscr...@googlegroups.com.
--
regards,
soumya prasad ukil
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To unsubscribe
If a+b+c=C1 and ab+bc+ac=C2, how do you get abc?
C1,C2 are constant.
--
regards,
soumya prasad ukil
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To unsubscribe from this group and stop receiving emails from it, send an email
complex_number const operator =(complex_number temp) const
Since, you are returning *this as reference, you have to have const
as your return type. You have made your this pointer as constant by
appending const keyword at the end of the function signature. But this
function has limitation
Given a array A[] and a number x, find the subarray who's sum is equal to x.
A[] contains both positive and negative numbers.
--
regards,
soumya prasad ukil
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email
prasad ukil
--
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 options, visit this group
.
--
regards,
soumya prasad ukil
--
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
is maximum so subarray would be 2,4,-6,-8,10
On Wed, Dec 15, 2010 at 6:23 PM, Soumya Prasad Ukil
ukil.sou...@gmail.com wrote:
It's a subset-sum problem, I guess.
On 15 December 2010 04:12, parth panchal parthpancha...@gmail.comwrote:
HI HOW ARE YOU
On Tue, Dec 14, 2010 at 7:45 PM
of that number it be opposite of 'z' if so return 1
else 0
[above steps is repeated for all elements]
*correct me if I am wrong*
--
Prashant Kulkarni
IISc Bangalore
On Wed, Dec 15, 2010 at 10:36 AM, Soumya Prasad Ukil
ukil.sou...@gmail.com wrote:
Are the linked list sorted
...@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
--
regards,
soumya prasad ukil
--
You received this message because you
from this group, send email to
algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
--
regards,
soumya prasad ukil
--
You received this message because you are subscribed
email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@googlegroups.comalgogeeks%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
--
regards,
soumya prasad ukil
--
You
.
--
regards,
soumya prasad ukil
--
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 options
://groups.google.com/group/algogeeks?hl=en.
--
regards,
soumya prasad ukil
--
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
.
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.
--
regards,
soumya prasad ukil
--
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
#includestdio.h
main()
{
char a ='c';
typedef char* charp;
const charp p=a;
p++;
}
Why p is a constant pointer ?
--
regards,
soumya prasad ukil
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send
its const pointer
On Sun, Oct 10, 2010 at 1:07 AM, Soumya Prasad Ukil ukil.sou...@gmail.com
wrote:
#includestdio.h
main()
{
char a ='c';
typedef char* charp;
const charp p=a;
p++;
}
Why p is a constant pointer ?
--
regards,
soumya prasad ukil
--
You
18 matches
Mail list logo