*Write a program to find out the combination of an element of each
array gives a result 0.*
For example:
array 1: {2,1,4,7}
array 1: {3,-3,-8,0}
array 1: {-1,-4,-7,6}
Output:
pairs =
{2,-8,6}
{1,3,-4}
{4,-3,-1}
{7,0,-7}
--
You received this message because you are subscribed to the Google
InfoEdge is going to visit in my collage.
Anyone knows which type of question ask in written test and interview.
--
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
can anyone tell me about the format of the samsung(seso) placement paper.and
from where to prepare for this.
thanks in davance
--
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
written test format-
part1.technical c:- and c++ questions;
part2:hardware ques-gates,multipleseretc
part3:aptitude quest
--
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
@aditi- yes ,they asked hardware question based on gates,multiplexer(not
multiple secret sorry for that mistake),counter etc from digital and it is
full section contain 8 to 9 question..
this company visited our collage and post offerd by them is software
developer...
section A- 8 to 9 simple
@aditi- have u ebbok of tanenbaum(data structure)..
please mail me if u have.
thanks in advance
--
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,
@yogesh
your code is simple one and excellent to understand;
--
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
1.using temporary variable method is the best as it is applicable to all
datatype.
2.using airthmatic expresion:- problem arise if we r swap the value using
pointer and both pointer point to same location
let int *x and int *y both point to a=20;
now we write a method swap
void swap(int
@yogesh- can u explain with an example pls?
--
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
algogeeks+unsubscr...@googlegroups.com.
my solution solve the problem in O(n) time but requre space comlexty n.
solution:
1. take an temp array and initialize it elements with zero;
int temp[n]={0};
2.increment the count of the element of temp which is appear when loop
through the given array say a[n];
for(int i=0;in;i++)
thanks yogi.
it is amzing tric and solution
--
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
pls send me too.
--
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
algogeeks+unsubscr...@googlegroups.com.
For more options, visit
mujhe bhi
--
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
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this
13 matches
Mail list logo