Re: [algogeeks] how can i find size of an object in java

2009-11-25 Thread Abhijeet Kumar
how do i measure the JVM memory ???
can u specify a command or class to use??

On Wed, Nov 25, 2009 at 8:12 AM, Chakravarthi Muppalla
wrote:

> measure jvm memory usage before/after creating ur object; but it is not
> assured to give the correct size(gc).
> or u can use a premain agent.
>
> On Wed, Nov 25, 2009 at 12:37 AM, Abhijeet Kumar <
> abhijeet.k.s...@gmail.com> wrote:
>
>> How can i find size of an object in java
>> plsss answer asap
>>
>>  --
>> 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 at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> Thanks,
> Chakravarthi.
>
> --
> 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 at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Cheers..
Abhijeet Kumar

--

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




[algogeeks] how can i find size of an object in java

2009-11-24 Thread Abhijeet Kumar
How can i find size of an object in java
plsss answer asap

--

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




[algogeeks] Re: Find longest palindrom in a give n string in O(N)

2009-08-31 Thread Abhijeet Kumar
u can push the string onto a stack ... so last element will be on top ...
den u can pop out element and compare ...
if u have 2 or more set of palindromes ..
u can keep a counter and keep a check on dat...

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[algogeeks] Re: Algo to find all the possible subsets in a set

2009-08-26 Thread Abhijeet Kumar
can i have the algorithm only in plain simple english
rather than havin the whole code ???
it ll be really helpful if u tell me the logic

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[algogeeks] Re: Check divisibility by 3

2009-08-21 Thread Abhijeet Kumar
nice logic and to add simple too!!

-- 
Abhijeet

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[algogeeks] Re: Check divisibility by 3

2009-08-17 Thread Abhijeet Kumar
i think the code given above doesn't work ..
so may be dat needs to be checked 
any better ideas??

On Mon, Aug 17, 2009 at 7:20 PM, manish bhatia  wrote:

> Keep adding the digits till you are reduced to single digit. Then check if
> it is 3, 6 or 9
>
>  --
> *From:* richa gupta 
> *To:* programming-puzzles ;
> algogeeks 
> *Sent:* Friday, 14 August, 2009 1:15:13 PM
> *Subject:* [algogeeks] Check divisibility by 3
>
>
> can we check the divisibility of a given number by 3 withoutusing
> operators like '/' or '%'..
> I want the efficient solution to this problem ..
>
> can someone help ??
> --
> Richa Gupta
> (IT-BHU,India)
>
> --
> Yahoo! recommends that you upgrade to the new and safer Internet Explorer
> 8
> .
>
> >
>


-- 
Abhijeet

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[algogeeks] Re: puzzle any answers

2009-07-02 Thread Abhijeet Kumar
hw ???

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---