[algogeeks] C# ebook

2011-09-05 Thread UMESH KUMAR
Hi Anybody do u have c# ebook please send on group thanks -- 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...@g

[algogeeks] Request for crack coding book ebook

2011-09-03 Thread UMESH KUMAR
hi anybody do you have CrackCoding ebook pls send . thanks -- 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...@

[algogeeks] Remove all Duplicates Words

2011-08-24 Thread UMESH KUMAR
Qn. Remove all duplicates words from given a line without using extra memory ? Ex:-Hello word hello hi Out put:- Hello word hi -- 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. T

Re: [algogeeks] Amazon Question

2011-08-03 Thread UMESH KUMAR
Order would be O(m*n)... On Wed, Aug 3, 2011 at 4:01 AM, ankit sambyal wrote: > Given two lists write a function which returns a list which is the > intersection of the two lists.the original lists should remain same. > (Intersection - if first list is say,1,20 3,45 and second list is 3,

[algogeeks] Nagarro Coding Round Ques......

2011-07-24 Thread UMESH KUMAR
Using the all characters of a given String how to specify either a palindrome or not. Ex:- 1) String="teste" After arrange all character we can made a palindrome String as "teset" So output is TRUE. 2)String="hello" we can not made a palindrome String output is FALSE bool IspalindromePossible (

Re: [algogeeks] Amazon telephone interview

2011-07-24 Thread UMESH KUMAR
Are U freshers and How would U scheduled Interview in amazon ?? -- 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+unsu

Re: [algogeeks] Coding..........

2011-07-21 Thread UMESH KUMAR
Anybody try for maintain the stable of elements in O(n) as like Input is :{1,2,3,4,5,6,7} then Output should be (2,4,6,1,3,5,7) not.. {2,4,6,1,5,3,7} base on above discussion .. -- You received this message because you are subscribed to the Google Groups "Algorithm G

Re: [algogeeks] Adove Question.........

2011-07-21 Thread UMESH KUMAR
yes R is actually size of subset that is always less than or equal to Size of the Array i.e r<=n On Thu, Jul 21, 2011 at 11:16 PM, Puneet Gautam wrote: > @umesh: can R take any value from 1 to 3..? > > On 7/22/11, UMESH KUMAR wrote: > > Hi > > > > Given an arr

[algogeeks] Adove Question.........

2011-07-21 Thread UMESH KUMAR
Hi Given an array of size N that contain some elements, Write a program for finding all possible subset of size R . n i.e. P r Array :[1,2,3,4] n=4,r=3; Output should be: {1,2,3},(1,2,4).{2,3,4},{...} possible 24 sets. Thanks -- You r

[algogeeks] Coding..........

2011-07-21 Thread UMESH KUMAR
Hi Given an array A[], write a function to separate even and odd numbers (i.e., put all even numbers first than odd numbers) and stability is also maintain for the elements in the Array. Eg. input: A[] = {12, 34, 45, 9, 8, 90, 3} output: A[] = {12, 34, 8, 90, 45, 9, 3}** Thanks -- You rec

Re: [algogeeks] Re: Coding Ques..............

2011-07-20 Thread UMESH KUMAR
Hi @Somnath my question is some different if given array :3,2,7,10 So according to last discussion Only Out put is *13 *not the show elements Output :: {3,10} So basically my question is that how to pick all elements that return max sum Thanks.. -- You received this message bec

[algogeeks] Coding Ques..............

2011-07-20 Thread UMESH KUMAR
Hi Given an array how to find a sequence whose sum is maximum *but condition is that no two adjacent elements* of the given Array. ex:- Array:-[3,6,7,10,4] output:- {6,10}=16 Array::[12,3,5,30] output:-{12,30}= 42 -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] C OUTPUT HELP

2011-06-12 Thread UMESH KUMAR
> > >>> void call(int a,int b,int c) >>> { >>> printf("%d %d %d",a,b,c); >>> } >>> >>> int main() >>> { >>> int a=5; >>> call(a++,a++,++a); >>> return 0; >>> >>> } >>> >>> >>> On Sat, Jun 11, 2011 at 8:21 PM, PRAMENDRA RATHi rathi < >>> prathi...@gmail.com> wrote: >>> IN second progra

Re: [algogeeks] Stroustrup C++ BOOK

2011-04-23 Thread UMESH KUMAR
If you know link for that book please send for direct Download On Sat, Apr 23, 2011 at 6:57 AM, D.N.Vishwakarma@IITR wrote: > *Book can't be send to group as it is more than 4.0 mb . and group can't > have massage more than 4.0 mb > * > On Sat, Apr 23, 2011 at 7:01 PM, UMES

[algogeeks] Stroustrup C++ BOOK

2011-04-23 Thread UMESH KUMAR
hi. Do you have anybody C++ by Stroustrup e-book please send on group. Thanks and Regards Umesh kumar -- 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 unsubs

Re: [algogeeks] Link list Problem

2011-03-14 Thread UMESH KUMAR
gt; 4 -> 4 -> 5 > * > Now delete node which is next to '*'. > > > On Sun, Mar 13, 2011 at 10:23 PM, UMESH KUMAR wrote: > >> hi >> >> Given a singly Link list but Head of the List is >> unknown so my question is that ..

[algogeeks] Link list Problem

2011-03-13 Thread UMESH KUMAR
hi Given a singly Link list but Head of the List is unknown so my question is that How to delete a given node from the List??? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send

Re: [algogeeks] Print Hello infinite..................

2011-03-11 Thread UMESH KUMAR
Hi my question is without Loop and Recursion function using??? On Fri, Mar 11, 2011 at 5:40 AM, Abhishek Mallick < abhishek.mallick2...@gmail.com> wrote: > #include > int main() > { > while(printf("Hello")); > return 0; > } > > On Thu, Mar 10, 2011 at 11:58 AM, Nishant Agarwal < > nisha

[algogeeks] Print Hello infinite..................

2011-03-06 Thread UMESH KUMAR
How to print Hello Infinite times without using Loop and Recursion function ? -- 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 alg

[algogeeks] NEED JSP EBOOK....

2011-02-04 Thread UMESH KUMAR
Hello Everybody I need right now JSP E-book . So, Everybody do u have good JSP please send on Group . Thanks and Regards Umesh Kumar D.U. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to

[algogeeks] Coding question.............

2011-01-27 Thread UMESH KUMAR
hello... QN :- How to find *TRANSPOSE* of the *RECTANGULAR* matrix i,e. m * n , where n != m. Ex:- input:- 1 2 3 4 5 6 7 8 output:- 1 5 2 6 3 7 4 8 thanks and regards UMESH KUMAR D.U. -- You

[algogeeks] NAGARRO CODING QUES............

2011-01-24 Thread UMESH KUMAR
:- {4,6}, {1,6,3}, {1,2,3,4} input :-{9,8,7,6}; output:- No Thanks And Regards Umesh Kumar -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, sen

[algogeeks] Explain anybody solution of Soduo Game is unique or Not......

2011-01-15 Thread UMESH KUMAR
Hello.. Explain and write Algorithm for* Soduo Game* and also describe Solution is unique or Not. if Anybody do you have C/C++ code please send to me. Thanks and Regards Umesh kumar -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] tricky C aps ques

2010-12-16 Thread UMESH KUMAR
main() > { >> int a[5]={1,3,6,7,0}; >> int *b; >> b=&a[2]; >> cout<> } >> >> the value of b[-1] is >> a.1 >> b.3 >> c.-6 >> d.none >> >> ANS will be 3. Because Compiler internally first converted in the form as *(b-1) , and get the one position back at the position 3. -- You received this m

Re: [algogeeks] C output... ???

2010-12-16 Thread UMESH KUMAR
> > > #define SIZE 10 >>> > int main() >>> > { >>> > int arr[SIZE]; >>> > printf("size of array is:%d\n",sizeof(arr)); >>> > return 0; >>> > } >>> >> when we call the function and pass the name of the ARRAY ,then PUSH the base Address of the ARRAY in the Stack of t

[algogeeks] HAPPY DIWALI FOR ALL...............

2010-11-05 Thread UMESH KUMAR
http://topwebdownloads.com/wp-content/uploads/2009/10/diwali-greetings-2.gif -- 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 algog

[algogeeks] Back tracking in list

2010-08-14 Thread UMESH KUMAR
explain ,if anybody known how to back tracking a Singly link list as a Doubly list with XOR -operation or any method if implementation of a Doubly link list using only one pointer . Explain with help of example -- You received this message because you are subscribed to the Google Groups "Algor

Re: [algogeeks] Addition Of numbers in SLL

2010-08-14 Thread UMESH KUMAR
On Sat, Aug 14, 2010 at 12:52 PM, AlgoBoy wrote: > Add two numbers represented in a SLL. Each digit is represented as a > node...the length of the lists may be more than 2000... > Wat is the most efficient soln...store the added digits in another > SLL...and return the head as the answer > >

[algogeeks] Singly to doubly....

2010-08-09 Thread UMESH KUMAR
How to convert Singly link list to Doubly link list without converting the Structure of the list ,so possible or not if possible then explain soon. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...

[algogeeks] Doubly linklist to Singly linklist...........

2010-08-07 Thread UMESH KUMAR
how to convert Doubly Link list to a Singly link list without changes the Structure of the list if possible or not ,if possible then try to discus of that problem. thanks and Regards Umesh kumar -- You received this message because you are subscribed to the Google Groups

[algogeeks] amezan interview.........

2010-08-06 Thread UMESH KUMAR
how to sort specific order the given array ,Without using extra memory Input:-a1,a2,a3,a4,a5..an,b1,b2,b3,b4,b5..bn. output:-a1,b1,a2,b2,a3,b3,an.bn -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group,

Re: [algogeeks] Re: BST sort

2010-08-05 Thread UMESH KUMAR
On 8/6/10, Avik Mitra wrote: > > > Do you mean to convert a BST to a HEAP? > > > -- > 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

[algogeeks] Associativity...............

2010-08-04 Thread UMESH KUMAR
How to decide associativity of the operation on operand so a simple Ex:- *ptr++ and ++*ptr how to work both ? -- 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.

Re: [algogeeks] Diff b\w BST and binary tree............

2010-08-04 Thread UMESH KUMAR
element. For binary tree we don't follow any rule for creating it. > > Data structure for both BST & binary tree: we use a simple structure that > holds a data value and pointer to its left and right child. > > > On Tue, Aug 3, 2010 at 10:18 AM, UMESH KUMAR wrote: > >>

[algogeeks] what Garbase value.........

2010-08-03 Thread UMESH KUMAR
What is the Garbase value in C/C++ and what is the Null pointer ? -- 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+unsub

[algogeeks] Diff b\w BST and binary tree............

2010-08-03 Thread UMESH KUMAR
what is the main difference b/w BST and Binary tree for the purpose of implementation . and what is the Data structure of that. -- 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. T

Re: [algogeeks] Permutation.................

2010-08-01 Thread UMESH KUMAR
On Sun, Aug 1, 2010 at 5:20 PM, Pramod Negi wrote: > http://pramnegi.blogspot.com/2009/11/dons-permutaion.html > > Thanks > Pramod Negi > > On Sun, Aug 1, 2010 at 4:30 PM, UMESH KUMAR wrote: > >> Write a C code for generate all possible Permutation >> as:- 1

[algogeeks] Permutation.................

2010-08-01 Thread UMESH KUMAR
Write a C code for generate all possible Permutation as:- 1 2 3 Total no. of Per=6 also print all permutation as:- 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 if inpute is 1 2 3 2 total no of permutation = 12 -- You received this message because you are subscrib

[algogeeks] interview microsoft............

2010-07-22 Thread UMESH KUMAR
Qn:-in the given array elements a1a2a3a4..anb1b2b3b4...bnc1c2c3c4cn without take a extra memory how to merge just like? a1b1c1a2b2c2a3b3c3anbncn -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To

[algogeeks] Interview Nagarro.................

2010-07-22 Thread UMESH KUMAR
Hello everybady, my question is:- Find the maximum length Subsequence in the given Array that contains only 0's and 1's elements and condition is that number of 1;s equal to the number of 0's. Ex:- Input:- 10101011100 output:-101010111000 -- You received this message because you are

[algogeeks] Time complexity................

2010-07-15 Thread UMESH KUMAR
Hello . How to decide insertion sort takes less cost of time for small input size. -- 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 ema

[algogeeks] C++++

2010-07-10 Thread UMESH KUMAR
Hello everybody how to Assign Constant value in Class of C++ Describe : Private,Protected, and Public Area in C++. -- 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 unsub

Re: [algogeeks] HIEGHT

2010-07-09 Thread UMESH KUMAR
--] //Stack is POP if(root->right==NULL) lev -- root=root->right } return height; } Umesh kumar MCA from University of Delhi. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks&

Re: [algogeeks] C PROCEDURAL LANGUAGE ?

2010-07-08 Thread UMESH KUMAR
On Fri, Jul 9, 2010 at 3:50 AM, RIDER wrote: > if c is procedural language then why declaring variable any where > works by gcc compiler?according to procedural property declaration > should only be at top ? > > > void main(){ > int c=1; > printf("%d",c); > int d=5; >

Re: [algogeeks] Plz help with multidimensional array

2010-07-06 Thread UMESH KUMAR
char name[][10]={"jan","feb","march"}; Name is a 2-D Array of character so if you wish to store in a Pointer variable then must take a Character of Pointer of 10 characters of type char. char (*p)[10]=name; Umesh Kumar MCA D.U. -- You receive

Re: [algogeeks] shift operators

2010-07-04 Thread UMESH KUMAR
On Sun, Jul 4, 2010 at 9:07 PM, jalaj jaiswal wrote: > how do we perform left shift and right shift on negative numbers.. > > for eg -1<<3 > >if negative number is shifted left (<<) then vacent space is filled by 0's and right sift (<<) then vacents space is filled by sign bits

Re: [algogeeks] Insertion in a balanced BST

2010-07-03 Thread UMESH KUMAR
On Sat, Jul 3, 2010 at 7:07 PM, jalaj jaiswal wrote: > void insert(node *n,int x){ > if(n==null) > return ; > node *p,*t=n; > node *temp; > temp=(node *)malloc(sizeof(node)); > temp->data=x; > temp->right=temp->left=null; > while(t!=null){ >

[algogeeks] BST traversing iterative..........

2010-06-30 Thread UMESH KUMAR
Hello everybody, Write a Code in C/C++ *Iterative * for Traversing BST (Binary Tree) *POSTORDER *,this is my Problem. Thanks and regards Umesh Kumar from D.U. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to

Re: [algogeeks] Recursion Space in Merge and Quick Sort

2010-06-28 Thread UMESH KUMAR
:- 1 )80 2) 7 0 3) 6 0 and so on Recu EQ:- T(n) = T(n-1) + T(0) +O(1) so total cost =O(n^2) So we can say number of call from the Quick Sort to the Partition is N So,We can say in cost of Quick sort=O(n). UMESH KUMAR PERSUING MCA

Re: [algogeeks] microsoft

2010-06-28 Thread UMESH KUMAR
porary array. > > > > //** Algorithm:- int i,k; i=k=0; int ar[]={ 1,0,2,0,3,0,0,4,5,6,7,0,0,0}; for <- i to sizeofArray-1 { if(ar[i] !=0) i++ else { k=i+1 while(ar[k] ==0) k++ swap ar[i] <>ar[