[algogeeks] networking

2012-03-22 Thread Aman Kumar
Hii to all

how to make a call of class's method(function) from client side to
server in java?

please replyit's urgent

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] Re: Function Name Mismatch

2012-02-09 Thread Aman Kumar
Thanx for reply

can you provide some code snippet here?

or some link for it.



On Tue, Feb 7, 2012 at 11:30 PM, Prem Krishna Chettri wrote:

> This is a simple implementation to Factory Design Pattern. What you have
> to do is make an arbitrary class (Your Adapter) and always call this.
> However, the implementation of  this class should be smart enough to route
> your call accordingly. As suggested by DON , its the c++ implementation of
> Factory Class. However , if you are designing in any other language, It is
> alwasyz advisable to have a sample implementation of  Factory design
> pattern.
>
>
>
> On Tue, Feb 7, 2012 at 11:23 PM, Don  wrote:
>
>> Provide an interface class for the client to access. The client needs
>> to know the name of the method in the interface, but only the
>> interface needs to know the name of the function in the server.
>> Don
>>
>> On Feb 7, 8:38 am, Aman Kumar  wrote:
>> > Hii to all
>> >
>> > If client want to make a function call to a server(vice versa), but it
>> > doesn't know exact name . so we need a adapter.
>> >
>> > for this i have to design a adapter (middleware)  so that client can
>> > make a call and adapter make that call to exact match.
>> >
>> > please help me for same.
>> >
>> > how to design adapter?
>>
>> --
>> 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 group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>>
>  --
> 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 group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] Function Name Mismatch

2012-02-07 Thread Aman Kumar
Hii to all


If client want to make a function call to a server(vice versa), but it
doesn't know exact name . so we need a adapter.

for this i have to design a adapter (middleware)  so that client can
make a call and adapter make that call to exact match.

please help me for same.

how to design adapter?

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] Final Year Project

2011-11-12 Thread Aman Kumar
Hiii
if anybody has project on "Component Based Software Engineering" ,
please reply on this thread asap
thank you.

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] virtual memory

2011-09-06 Thread Aman Kumar
Hii

what happen if " size of main memory is greater than size of virtual
memory"?

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] urgent C o/p

2011-09-05 Thread Aman Kumar


#include
int main()
{
 float a=3.2;
 printf("%d\n\n",a);//line 1
 printf("%d",*(int *)&a); //line 2

}


o/p(gcc comppiler) = -1610612736

   1078774989

i am not getting why and how these /p  r coming .

what is difference between line 1   and line 2?

reply asap

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] CSMA/CD in switched

2011-09-04 Thread Aman Kumar
Hiii
I have one confusion that   " CSMA/CD is protocol is still used in
switched base LAN?"

How is full duplex transmission  occured in switched.

please clear this

and provide a link for same

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.




[algogeeks] character count in array

2011-09-03 Thread Aman Kumar
Hiii
if array is given like this

arr[]=aabcabbcdeadef

convert this array into like

arr[]=a4b3c2d2e2f1

how can we do this

can we do it with space complexity O(1).

reply asap

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] pattern matching

2011-09-02 Thread Aman Kumar
Hiii

Friends ,if pattern matching question is asked in the interview , we
should answer brute force(with some optimization) approach or use
ADVANCED algorithm like KMP?

I am very much confused regarding this because in on blog i have read
that we should not use advanced data structure in interview.


help me out.

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] dictionary

2011-09-02 Thread Aman Kumar
Hii

Which data structures can be used for implementation for dictionary?

which is best/good among them?

provide good link for that.

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] threads

2011-08-18 Thread Aman Kumar
Hiii

Tell me that what should i answer in interview of question like

1.thread synchronization
2.context switch of threads

please give detail answer.

any good link for same?

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] mutex

2011-08-17 Thread Aman Kumar
can we use mutex for synchronization?

if yes why?

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] realloc and malloc

2011-08-07 Thread Aman Kumar
Hiii


tell me how to implement own realloc and malloc and free function?

any link for this??

If anybody is implemented it,give code ?

-- 
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 group at 
http://groups.google.com/group/algogeeks?hl=en.