[algogeeks] PRAYATNA '12 - A NATIONAL LEVEL TECHNICAL SYMPOSIUM

2012-02-07 Thread sivaviknesh s
-- Forwarded message -- From: Harikannan Shanmugam Date: Tue, Feb 7, 2012 at 5:37 PM Subject: Fwd: PRAYATNA '12 - A NATIONAL LEVEL TECHNICAL SYMPOSIUM To: ananth...@gmail.com, arivu04@gmail.com, aru.valarpu...@gdit.com, aru.valarpu...@gmail.com, cccha...@gmail.com, cserebels_..

[algogeeks] My symantec interview experiences

2011-10-04 Thread sivaviknesh s
Hope it will be useful :) -- 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

[algogeeks] os ques about paging

2011-09-24 Thread sivaviknesh s
Consider a virtual memory system in which the virtual page addresses are mapped onto physical page addresses as follow Virtual page address.. Physical page address 03 1...

[algogeeks] Amazon OS question

2011-09-24 Thread sivaviknesh s
A parallel program consists of 8 tasks – T1 through T8. Each task requires one time step to be executed on a single processor. Let X -> Y denote the fact that task X must be executed before task Y is executed. Suppose only the tasks X, Y are to be executed. On any multiprocessor machine it would re

[algogeeks] Time complexity

2011-09-21 Thread sivaviknesh s
for(i=0;ihttp://groups.google.com/group/algogeeks?hl=en.

[algogeeks] Array ques based on correlation factor

2011-09-17 Thread sivaviknesh s
Write a method fill up an array of size n - and returns the array to the caller - with the following conditions 1. the numbers shud be between 0 to n-1 2. no repeated numbers 3. the method should have a deterministic time to fill the arrays 4. arrays returned from the method should have low-correl

[algogeeks] How one can measure time spent in context switch??

2011-09-17 Thread sivaviknesh s
if possible code plz -- Regards, $iva -- 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. Fo

[algogeeks] Symantec System programming ques

2011-09-17 Thread sivaviknesh s
you have to write a program which tell about how many times it has run. ex: if you run first time it will print 1. if you run second time it will print 2. like this. this can easily done by File Handling but think other solution like IPC. after booting your system, your program's output start fr

[algogeeks] Symantec ques - Find maximum element without using comparison operators

2011-09-17 Thread sivaviknesh s
Two registers A and B. Initial Contents of the registers are unknown. Write a program to find MAXINT - The maximum positive unsigned integer The instructions available are: SHR reg1, op1 ADD reg1, op1 AND reg1, op1 NOT reg1. Op1 may represent any number or register. (Hint: The Shift operation is a

[algogeeks] Fwd: ThoughtWorks Programming Questions

2011-09-15 Thread sivaviknesh s
-- Forwarded message -- From: LOKE$[-] Date: Mon, Aug 22, 2011 at 4:13 PM Subject: Fwd: ThoughtWorks Programming Questions To: mitcse08info With regards Lokesh Chandrakumar - Hi , Attached are the links to the *ThoughtWorks programming questions* and solutions. * * *

[algogeeks] Fwd:

2011-09-15 Thread sivaviknesh s
-- Forwarded message -- From: sivaviknesh s Date: Fri, Sep 9, 2011 at 12:28 PM Subject: To: Pritpal Singh Interview Questions: Thoughtworks As said by senior- S.Abhinaya Round1: Logic test- some simple numerical problems.This doesn't require any special preparation. T

[algogeeks] Fwd: ThoughtWorks Programming Questions

2011-09-15 Thread sivaviknesh s
-- Forwarded message -- From: Sesha krishnan Date: Mon, Aug 22, 2011 at 6:04 PM Subject: Re: ThoughtWorks Programming Questions To: mitcse08i...@googlegroups.com All, We uploaded the thoughtworks interview questions from GCT yesterday @ http://yourbitsandbytes.com/viewforum.php?

[algogeeks] Fwd: Interview question in Thoughtworks

2011-09-15 Thread sivaviknesh s
-- Forwarded message -- From: sivaviknesh s Date: Fri, Sep 9, 2011 at 12:23 PM Subject: Fwd: Interview question in Thoughtworks To: Pritpal Singh -- Forwarded message -- From: sasi kumar Date: Sat, Jul 23, 2011 at 12:04 PM Subject: Fwd: Interview question in

[algogeeks] c output .. help plz

2011-09-06 Thread sivaviknesh s
printf("%d",3.14*6.25*6.25); ...ans : 0 ..how and why?? why not type conversion take place?? -- Regards, $iva -- 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

[algogeeks] C output????

2011-09-06 Thread sivaviknesh s
main() { char *p="persons"; clrscr(); if(p=="persons") printf("technical %s",p); else printf("true %s",p); return 0; } ..op : technical persons ..plz explain .. how come it works like an strcmp operation??? -- Regards, $iva -- You received this message because you are subscribed to the Google G

[algogeeks] math puzzle

2011-08-28 Thread sivaviknesh s
*Find the number of solutions for 3x+4y=60, if x and y are positive integers.* Is there any standard method for solving these type of ques ..or only trial and error ??? -- Regards, $iva -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To po

[algogeeks] constructor ques

2011-08-22 Thread sivaviknesh s
you have 4 classes A,B,C,D and class Z is derived from all these classes using Class Z: public A,private B,Protected C, Virtual D What is the order of constructor call? ...plz reason out also -- Regards, $iva -- You received this message because you are subscribed to the Google Groups "Algori

[algogeeks] Re: fork() question

2011-08-14 Thread sivaviknesh s
http://faq.programmerworld.net/networking/unix-interview-questions-answers.html refer 16 th ques in this site .. they ve told 2^n times..so only i asked whether its compiler dependent ?? On Sun, Aug 14, 2011 at 11:12 PM, sivaviknesh s wrote: > int main() > { > fork(); > fo

[algogeeks] fork() question

2011-08-14 Thread sivaviknesh s
int main() { fork(); fork(); fork(); printf("Hello world!"); } ...this will print hello world 8 times...i.e . 2^n times but... int main() { fork(); fork(); fork(); fork() printf("Hello world!"); } http://ideone.com/TRKTE ..but this prints only 11 times -- and for five forks 25 times...plz

[algogeeks] virtual functions output

2011-08-01 Thread sivaviknesh s
#include #include using namespace std; class Base { public: Base() { fun(); //note: fun() is virtual } virtual void fun() { cout<<"\nBase Function"; } }; class Derived: public Base { public: Derived(){} virtual void fun() { cout<<"\nDerived Function"; } }; int ma

[algogeeks] Morgan stanely interview ques

2011-07-31 Thread sivaviknesh s
*Given an nxn screen, Each pixel is represented by intensity values. Given a specific pixel as an input, find the no. of pixels of the same colour which can reached from this pixel. Assume any suitable data structure for a screen. ..can this be implemented through BFS ...similar to BITMAP prob

[algogeeks] Frequently asked interview ques

2011-07-31 Thread sivaviknesh s
1. Given words in a newspaper as input find the words that have occured oly once 2. Find the 5 most repeating words in a given document ...Is there any other optimal solutions other than using map ?? -- Regards, $iva -- You received this message because you are subscribed to the Google Gr

[algogeeks] Least Common Ancestor

2011-07-27 Thread sivaviknesh s
How to find Least Common Ancestor of a BINARY TREE without using PARENT POINTERS ? give algo / ideas plz ?? -- Regards, $iva -- 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.co

[algogeeks] Fwd: SORTING ARRAYS

2011-07-26 Thread sivaviknesh s
-- Forwarded message -- From: Padmaja Sridharan Date: Wed, Jul 27, 2011 at 5:15 AM Subject: SORTING ARRAYS To: mitcse08i...@googlegroups.com Given two arrays a[] = {1,3,2,4} b[] = {4,2,3,1} both will have the same numbers but in different combination. We have to sort them . The

[algogeeks] Re: Directi question-centre of the tree

2011-07-26 Thread sivaviknesh s
we can do like creating an adjacency matrix..populate all values i.e. cost to reach each node...finally find the nodes that has min value...any other gud solutions?? On Wed, Jul 27, 2011 at 2:16 AM, sivaviknesh s wrote: > the question is clear..you draw the sample test case and work

[algogeeks] Re: Directi question-centre of the tree

2011-07-26 Thread sivaviknesh s
the question is clear..you draw the sample test case and work out .. you will understand 1 / / \ 4 2 3 /\ 5 6 here from node 2 the maximum cost to reach any node 'i' is 2 and minimum is 1 ...so M(2) = max(1,2)=2..the same is the case

[algogeeks] Hash map , hash table - DOUBTS!!!!

2011-07-23 Thread sivaviknesh s
what is the time complexity of a hash map??for insertion and searching are hash table and hash map same ?? can anybody give a good explanation with example or even suggest good links.thanks in advance :) -- Regards, $iva -- You received this message because you are subscribed to

[algogeeks] ms ques

2011-07-18 Thread sivaviknesh s
convert a number in base 5 to base 9 -- Regards, $iva -- 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] Fwd: MICROSOFT INTERNSHIP (Coding round)

2011-07-18 Thread sivaviknesh s
-- Forwarded message -- From: sivaviknesh s Date: Mon, Jul 18, 2011 at 11:29 PM Subject: Fwd: MICROSOFT INTERNSHIP (Coding round) To: algogeeks@googlegroups.com -- Forwarded message -- From: subramania jeeva Date: Thu, Sep 23, 2010 at 7:53 AM Subject: Re

[algogeeks] Fwd: MICROSOFT INTERNSHIP (Coding round)

2011-07-18 Thread sivaviknesh s
-- Forwarded message -- From: subramania jeeva Date: Thu, Sep 23, 2010 at 7:53 AM Subject: Re: MICROSOFT INTERNSHIP (Coding round) To: mitcse08i...@googlegroups.com Also in placement the question asked was Given a 2 dimensional matrix with its rows and columns are

[algogeeks] ms ques

2011-07-18 Thread sivaviknesh s
Implement a C++ garbage collector efficiently..any ideas ??? ..shud we need to do something with destructor??? -- Regards, $iva -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegro