nagabhushana.s
BAN USER
If 10units diameter sphere can fit in 10x10x10units cube............................
100x100x100units cube can fit in 10x10x10 number of 10*10*10 cubes..........
so, it is 10x10x10 number of spheres.
3!
- nagabhushana.s July 02, 2010ha ha ....6 = inverted 9 is the idea ...great guys!
- nagabhushana.s July 02, 2010sab desi hai bhai...
- nagabhushana.s July 02, 2010Since key-value pairs are not interrelated, we cant use topological sort. Linked list looks as only the option.
- nagabhushana.s July 02, 2010great!
- nagabhushana.s July 01, 2010Sexy dude.
- nagabhushana.s July 01, 2010Explanation:-
To understand this we have to compare 2 clocks.
At the end of day1, suppose Normal clock shows 12AM. Screwed up clock will be 11 PM 59Min 58Sec. Lost 2 days.
One Interesting fact is that Screwed up clock will reach 12AM only after 2 secs. :)
At the end of Day2, as usual screwed up clock will lose 2 more seconds.
Means, 2+2(make up for day1's lost seconds) +2 = 6secs!
sexy dude!
- nagabhushana.s July 01, 2010Great, patron!
- nagabhushana.s July 01, 2010Its not a clear answer problem....Its answer will be algorithmic complexity terms...I feel 'netappreject' is correct!
- nagabhushana.s July 01, 20101. Divide into groups of 27, 27 and 26
2. Weight 27 against 27, its either group with 27 or 26. For Ex, lets take 27
3. Divide into 9, 9 and 9
4. Weigh 9 against 9, we know group 9 balls which are heavier
5. Now divide them into 3,3,3
6. Similarly we will end up with group of 3
7. Divide into 1, 1, 1
7. Now compare 1 and 1...U know the answer
4 Steps! he he
for whole number case , it is (3,4)...great guys...I am enjoying
- nagabhushana.s July 01, 2010Guys....its either (x,y)=(0,0) or (x,y)=(2,2)...........
CodeMonkey, u r great!
My friend came up with a better solution. Its by defining intial condition. Both robots will start from each end of the line facing away from each other and in a perpendicular direction to the line. EX: Suppose line is drawn from north to south. Robot1 will be in north end of the line facing towards east whereas Robot2 is at the other end facing West. With this simple algorithm will be...
while(!AmIpoint())
moveright();
Next 24 hours is actually cake-walk!!!
- nagabhushana.s July 01, 2010Next 24 hours is actually cake-walk!!!
- nagabhushana.s July 01, 2010Bhavik's solution is correct but its best understood if its explained starting from all 5 slaves sharing 1/5 of same barrel.
1.Lets share 20% barrel1 to S1,S2,S3,S4,S5. [This is to achieve this:If all of them die at the end of 24th hour, its barrel1 which is poisoned]
2.Lets share (barrel2+barrel3) equally among S1,S2,S3,S4. If we continue like this, we have spent 2*10=20 barrels.
3.Lets share (barrel12+barrel13+barrel14+barrel15) equally among S1,S2,S3. If we continue like this, we have spent 4*10=40barrels.
4.Lets share (barrel62+....+barrel68) equally among S1,S2. If we continue like this, we have spent 8*10=80barrels.
5.Lets share (barrel143+...+barrel159) to S1. If we continue like this, we will have spent 16*5=80 barrels.
That leaves us with 240-1-20-40-80-80 = 29barrels for next 24 hours.
If all the slaves die, Barrel1 is poisonous.
If (S1+S2+S3+S4) die, then (Barrel2+barrel3) is poisonous. With S5, we can easily find out whether Barrel2 or Barrel3 is poisonous!
Like this, we can move ahead!
1. Group 9 balls into sets of 3,3 and 3
2. Compare group1 and group2, if both are equal, go to step 4(proceed with group3)
3. Else, Comapare group1 with group3, if they are equal proceed with group2, else with group1
4. Divide balls into 1, 1 and 1
5. Compare ball1 with ball2 once, then with ball3 once.
6. We know the lightest of heaviest ball by now!
Guatam is correct!
- nagabhushana.s July 01, 2010No. Here are all answers for all possible cases.
(Note : I have taken 'r' as side length of the cube.
Interior(If you cut through): srqoot(3)*r
Exterior(Along Edges):3*r
Exterior(shortest along the surface):sqroot(5)*r
Heretic and gouti are correct!
sorry...shoonya mohit has already done that. great job, man!
- nagabhushana.s June 30, 2010I think this is the best algorithm....
1.Sort ascendancy, remove duplicates also in the process
2.Remove numbers which are >= k
3.Do steps 4 through 8 till i != j
4.Start with i = 0
5.Start with j = size - 1
6.If the sum is == k, display a[i]+a[j] = k, i++, j--
7.If the sum is < k, i++, go to step 5
8.If the sum is > k, j--, go to step 5
Can somebody calculate the complexity for this please? I don't know how to do...
Lets take case of one robot. Here is the algorithm
1. Check whether current point is the desired point by using AmIPoint()
2. If yes, program ends, Robot found the point, Exit. Else, go to step 3.
3. MoveLeft()
4. MoveRight()
5. MoveRight(). Robot is now on the next point on the line. Go to step1.
Repeat the above steps for Robot 2.
RepHondaRonda, Accountant at Achieve Internet
I am a communications specialist who develops and nurtures relationships between an organisation, members of the media and the public ...
RepI am Jenae Wilder and I work as a content writer, A writer at day, and a reader at night ...
RepLisaBAllen, Accountant at ABC TECH SUPPORT
I am Lisa a certified Personal Trainer with more than 7 years experience in the local and international fitness scene ...
RepAvyuktBurk, photographer at Precious Moments
Confident and dedicated photographer with experience in both professional and freelance photography. I like to explore Black Magic Spell To ...
RepJe suis Kirsten. Je travaille dans un magasin en tant que responsables de la chaîne d'approvisionnement pour promouvoir la ...
Repkalerkant98, abc at ADP
I am DennisRue, seeking an entry level position where my strong work ethics and ability to learn quickly will contribute ...
Repjuanitajboon, Applications Developer at 247quickbookshelp
Hi everyone, I am from Pelham. I currently work in the Hechinger as Cashier.I like to do creative things ...
RepDedicated and professional insurance manager with many years of experience. I love my work here. I have learned many things ...
RepHelenBMartin, Android Engineer at ABC TECH SUPPORT
I am an avid reader and a leader and participant in a community book club. My reading Kamakhya Mandir Tantrik ...
RepNaomiAdams, abc at 8x8
Passionate educator for nearly 5 years with a strong desire to help students recognize the connection between learning and experience ...
Repsamuelcsmith700, Accountant at Absolute Softech Ltd
Je suis chef d'équipe de support Office dans une entreprise Action Auto. Je suis également rédacteur de blog. J ...
Repsonjamramos45, Graphics Programmer at CGI-AMS
I am a strong writer with a passion for story-telling who has extensive experience of writing literary compositions, articles, reports ...
RepLisaNoto, Android Engineer at ADP
Annie has nearly 10 years of experience working on anadromous and estuarine fishery issues in California. She serves as a ...
Repshanamkyler38, AT&T Customer service email at ABC TECH SUPPORT
Hi, I am Shana and I live in Chicago USA .I am working as a Tax preparer in an Adaptabiz ...
Repannawellson007, Area Sales Manager at 8x8
Hey my name is anna And i am working as a content writer in Search engine optimization company.My component ...
Rephallieriddic, HR Executive Trainee at Barclays Capital
I am Hallie, Dedicated and experienced administrative secretary who excels at prioritizing , completing multiple tasks simultaneously and following through to ...
RepRuthMitchell, Applications Developer at ASAPInfosystemsPvtLtd
My name is Mitchell working as a technical sales support worker in the USA. I identify and establish new business ...
RepPamPucker, HR Executive at Adap.tv
I am Pam from Birmingham USA, A Secretary serves as a trusted personal assistant . My interest in ice skating, and ...
RepMariaBJiles, Accountant at A9
I am working as a team leader in a development software company. I am creative in learning how to crochet ...
Rephazelwlson80, abc at A9
I am a skilled civil engineer with many years of experience in a variety of engineering aspects. There are a ...
Repjacksabjohne, Accountant at ABC TECH SUPPORT
Michael is a Biological Technician with 4 years of experience monitoring, characterizing, and quantifying riverine processes and habitat in the ...
Repemilinarula, Dev Lead at ABC TECH SUPPORT
Hi, i've been spotting for about 4 years.Teamwork: works well as a member of a team, pitches in ...
Repbrittneykestro, Personnel at Absolute Softech Ltd
I’m Brittney , an experienced professional working as a Recreation leader provides social services to disadvantaged Children, Families, Schools, and ...
Repadak4257, Applications Developer at Adobe
I am fond of Listening Songs then reading newspapers which are all about a story of a beautiful nature and ...
Repellenabeaudry4, Analyst at Boomerang Commerce
I'm a 23 year-old blogger, make-up junkie and follower of Hinduism.I love Reading because it brings happiness for ...
Repsusanaminick, Research Scientist at CapitalIQ
I am Susan from Dallas, I am working as a Property manager in Kohl's Food Stores company. I love ...
Repcolettehenna, OOPS Freshers at Bosch
I am Colette , policy analyst at Sunflower Market , with 3 years of experience building and maintaining relationships with elected officials ...
Repmelissattaylor, AT&T Customer service email at Bankbazaar
Je suis membre participant du chapitre de Virginie de l'Association nationale du travail social. J'aime lire et écrire ...
RepRobin has more than 26 years of experience working for state, city, university, and public entities as a fisheries ecologist ...
Repleliakelsch6389, Associate at 247quickbookshelp
Hello, I am a News Anchor. And I have completed all my studies from Portland. And today I am a ...
Repriyanahobett, Sales Development Representative at Capgemini
I am Riyana , driven market researcher with over years of experience at Awthentikz , analyzing information in order to construct profiles ...
Repjeniakant, Android test engineer at AMD
Hey I am working as a actor in Film industry from last 10 years.I start My last carrier after ...
RepStella James, Data Engineer at Adap.tv
I am Stella James doing an internship at Grossman’s for the past few weeks and also completing my thesis ...
Reptaylamowll, Analyst at AMD
Aspire to work in a challenging environment, where my exceptional skills and abilities are completely explored, and I can easily ...
RepZoeyUhl, abc at 247quickbookshelp
With a highly experienced law clerk, well respected and writing proficient, detail oriented and proficient in preparing legal memos of ...
Repamritatorr, Paramedic at Capital Medical Billing
By profession, I am a paramedic in Chicago. I want to know about Indian ayurvedic treatment. I like to explore ...
RepGenesisCruz, Integration Software Engineer at NetApp
I am a highly professional and experienced board director with many years of experience leading non-profit as well as for-profit ...
Repgoamgivheler, Accountant at Lava
I am working as a nurse in Bali Boer Cafarius. I enjoy relationships with patients and their families. It has ...
Rephelenweiver, Consultant at ASU
I am Helen , policy analyst at Sunflower Market , with 3 years of experience building and maintaining relationships with elected officials ...
Repnnatashanaomi, Android test engineer at 247quickbookshelp
I am Marketing managers who play a crucial role in helping a business to promote and its customers. I manage ...
488! sexy!
- nagabhushana.s July 03, 2010