Go thru this
http://stackoverflow.com/questions/8650827/sample-testcase-for-interviewstreet-equationsyou
should be able to solve the question
On Tue, Jun 26, 2012 at 1:58 AM, prakash y yprakash@gmail.com wrote:
@Vishal,
If the output should be the total no.of pairs, then i think there are
dbms=korth
os=galvin
aptitude=rs agarwal
On Sun, Jun 17, 2012 at 4:51 PM, Prakhar Jain jprakha...@gmail.com wrote:
Hello everyone,
Please anyone suggest that what books,sites,etc. should be preffered while
preparing for topics such as networking, dbms, os, aptitude for
placements.
Any
Best Regards
Ashish Goel
Think positive and find fuel in failure
+919985813081
+919966006652
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send
whether it is in character array or integer array??
On Tue, Jun 26, 2012 at 3:40 PM, Ashish Goel ashg...@gmail.com wrote:
Best Regards
Ashish Goel
Think positive and find fuel in failure
+919985813081
+919966006652
--
You received this message because you are subscribed to the Google
^ Does it make any difference?
Saurabh Singh
B.Tech (Computer Science)
MNNIT
blog:geekinessthecoolway.blogspot.com
On Tue, Jun 26, 2012 at 5:32 PM, Navin Kumar algorithm.i...@gmail.comwrote:
whether it is in character array or integer array??
On Tue, Jun 26, 2012 at 3:40 PM, Ashish Goel
x+y/(x*y)=1/N!
N!=x*y/(x+y)
assume x=y
N!=x^2/(2x)
x/2=N!
x=2*N!
1/(2*N!)+1/(2*N!)=1/N!
for example for N=4
1/48+1/48=1/24
On Mon, Jun 25, 2012 at 5:30 PM, Kumar Vishal kumar...@gmail.com wrote:
We have to find number of Pair(x,y)
which will satisfy the eq:
1/x + 1/y = 1/(n factorial)
just have a look on segment tree ( u can found good study material on
segment tree at topcoder algorithm tutorial)
On Monday, 25 June 2012 18:13:50 UTC+5:30, Navin Kumar wrote:
please provide some good data structure to solve this problem:
http://www.careercup.com/question?id=14062676
- in general we use polynomial addition for the same.
If the numbers are carrying some additional information as ( particular
base or pattern) another mechanise can be designed
On Tuesday, 26 June 2012 15:40:39 UTC+5:30, ashgoel wrote:
Best Regards
Ashish Goel
Think positive and find fuel
MSB is at end or at the last of the array .. ??
On Tue, Jun 26, 2012 at 5:43 PM, saurabh singh saurab...@gmail.com wrote:
^ Does it make any difference?
Saurabh Singh
B.Tech (Computer Science)
MNNIT
blog:geekinessthecoolway.blogspot.com
On Tue, Jun 26, 2012 at 5:32 PM, Navin Kumar
I mean 123 is store as 1,2,3 or 3,2,1
On Tue, Jun 26, 2012 at 6:01 PM, Kumar Vishal kumar...@gmail.com wrote:
MSB is at end or at the last of the array .. ??
On Tue, Jun 26, 2012 at 5:43 PM, saurabh singh saurab...@gmail.comwrote:
^ Does it make any difference?
Saurabh Singh
@Kishore
in below link no one deals with how to calculate or escape calculating
factorial (n)
On Tue, Jun 26, 2012 at 12:28 PM, Kishore kkishoreya...@gmail.com wrote:
Go thru this
http://stackoverflow.com/questions/8650827/sample-testcase-for-interviewstreet-equationsyou
should be
This is zigzag problem where in addition to print, one needs to append the
printed data to the resulting DLL at the tail.
Best Regards
Ashish Goel
Think positive and find fuel in failure
+919985813081
+919966006652
On Tue, Feb 1, 2011 at 6:12 PM, bittu shashank7andr...@gmail.com wrote:
the base is not given, so 10 can't be assumed
Best Regards
Ashish Goel
Think positive and find fuel in failure
+919985813081
+919966006652
On Tue, Jun 26, 2012 at 4:38 PM, amrit harry dabbcomput...@gmail.comwrote:
make size of both array by adding '0' in front of smaller array
then
int
1 /x + 1/y = 1/(n!)
* Consider N = n! , *
*The Equation becoz :-*
1/x + 1/y = 1/N
or (x+y)/xy = 1/N
or N( x + y ) = xy
*Changing sides we get :-*
xy - N(x+y) = 0
*Adding N^2 on both sides we get :-*
xy - N( x + y) + N^2 = N^2
or xy - Nx - Ny + N^2 = N^2
or x(y - N) - N (y -
@ SAM Thanks
On Tue, Jun 26, 2012 at 8:21 PM, SAMM somnath.nit...@gmail.com wrote:
1 /x + 1/y = 1/(n!)
* Consider N = n! , *
*The Equation becoz :-*
1/x + 1/y = 1/N
or (x+y)/xy = 1/N
or N( x + y ) = xy
*Changing sides we get :-*
xy - N(x+y) = 0
*Adding N^2 on both sides
How to multiply two numbers without using * operator?
Hint:Use bit operators
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
search for Ethiopian Multiplication
On Wed, Jun 27, 2012 at 9:45 AM, Gobind Kumar Hembram
gobind@gmail.comwrote:
How to multiply two numbers without using * operator?
Hint:Use bit operators
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks
main(a,b,m)
02{
03while (~scanf(%d%d,a,b))
04{
05 m=0;
06 while (a)
07 {
08if (a1)
09 m+=b;
10a=1;
11b=1;
12 }
13 printf(%d\n,m);
14}
15}
--
You received this message
18 matches
Mail list logo