GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   google interview question, keep it simple (https://gfy.com/showthread.php?t=832138)

Adultnet 06-02-2008 06:50 AM

google interview question, keep it simple
 
google interview quiz,
Write a function that receive 7 or 4 and returns 4 if received 7 or returns 7 if received 4 :pimp
keep it simple and try be creative :)

OutToLunch 06-02-2008 07:21 AM

which came first, the chicken or the egg?

fris 06-02-2008 07:23 AM

how many douchebags does it take to setup a geocities site

Adultnet 06-02-2008 07:38 AM

Quote:

Originally Posted by OutToLunch (Post 14265523)
which came first, the chicken or the egg?

http://www.photolight.co.il/photo/2007-08-31/102004.jpg :)

sniperwolf 06-02-2008 08:52 AM

Chicken?

:1orglaugh

Adultnet 06-02-2008 09:32 AM

Quote:

Originally Posted by sniperwolf (Post 14265877)
Chicken?

:1orglaugh

yes :pimp

Adultnet 06-02-2008 09:33 AM

Quote:

Originally Posted by Fris (Post 14265525)
how many douchebags does it take to setup a geocities site

its six :pimp

Azoy? 06-02-2008 09:52 AM

ok that was interesting.
takes a couple of if statements but doesn't seem that challenging.

Adultnet 06-02-2008 10:07 AM

Quote:

Originally Posted by Azoy? (Post 14266172)
ok that was interesting.
takes a couple of if statements but doesn't seem that challenging.

you can say:
If num=4 return 7
if num=7 retun 4

but now try to solve it with no if statements :)


All times are GMT -7. The time now is 12:10 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc