Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralWindows Eight and One Tenth PinmemberS u n s h i n e5-Apr-14 0:53 
GeneralRe: Windows Eight and One Tenth Pinmemberdandy725-Apr-14 1:52 
GeneralRe: Windows Eight and One Tenth PinprofessionalRichard Andrew x645-Apr-14 10:36 
GeneralRe: Windows Eight and One Tenth PinmemberJ. Adam Armstrong5-Apr-14 11:03 
GeneralRe: Windows Eight and One Tenth [modified] PinmemberS u n s h i n e6-Apr-14 1:51 
GeneralRe: Windows Eight and One Tenth PinmemberJ. Adam Armstrong7-Apr-14 4:26 
GeneralRe: Windows Eight and One Tenth PinmemberJimmyRopes7-Apr-14 19:15 
GeneralInterview Question PinprofessionalRahul VB5-Apr-14 0:33 
Hello Friends,
I went for an interview to a company: they asked me these 2 questions:

1> I have a rope. There is no tool available to measure that rope. I can just measure that rope using time.
For example i set it on fire and the rope burns for one hour.

a>Now i want to measure the rope for half an hour what to do?
b>I want to measure it for 45 minutes. How to do?
 

2> I have a figure below:
Smile | :)
Smile | :) Smile | :)
Smile | :) Smile | :) Smile | :)
Smile | :) Smile | :) Smile | :) Smile | :)
 
I want to convert it to:
Smile | :) Smile | :) Smile | :) Smile | :)
Smile | :) Smile | :) Smile | :)
Smile | :) Smile | :)
Smile | :)
 
You have 2 options:
a>Either use 3 smilies at once to rearrange the figure.
b>Or use a combination of (2 + 1) smilies to rearrange the figure.
which means you have only 1 chance if you use 3 smilies.
OR
2 chances if you use (2 + 1) smilies

You cant do a 1 + 1 + 1 combination of smilies to rearrange the figure.
 
I was given 15 minutes to solve the above problems.
 

Thanks a ton
GeneralRe: Interview Question PinmemberCDP18025-Apr-14 0:37 
GeneralRe: Interview Question PinprotectorOriginalGriff5-Apr-14 0:39 
GeneralRe: Interview Question PinmemberCDP18025-Apr-14 0:43 
GeneralRe: Interview Question PinprotectorOriginalGriff5-Apr-14 0:49 
GeneralRe: Interview Question PinprofessionalRahul VB5-Apr-14 0:43 
GeneralRe: Interview Question PinprotectorOriginalGriff5-Apr-14 0:47 
GeneralRe: Interview Question Pinmemberfiregryphon7-Apr-14 9:02 
GeneralRe: Interview Question PinprotectorOriginalGriff7-Apr-14 9:05 
GeneralRe: Interview Question PinprofessionalRahul VB5-Apr-14 0:40 
GeneralRe: Interview Question PinmemberCDP18025-Apr-14 0:46 
GeneralRe: Interview Question PinmemberStefan_Lang6-Apr-14 22:26 
GeneralRe: Interview Question PinmemberSortaCore6-Apr-14 22:50 
GeneralRe: Interview Question PinmemberSimon O'Riordan from UK6-Apr-14 22:08 
GeneralRe: Interview Question PinprotectorOriginalGriff5-Apr-14 0:38 
GeneralRe: Interview Question PinprofessionalRahul VB5-Apr-14 0:41 
GeneralRe: Interview Question PinprotectorOriginalGriff5-Apr-14 0:46 
GeneralRe: Interview Question PinprofessionalRahul VB5-Apr-14 0:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 17 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid