Red@reddthat.com to linuxmemes@lemmy.worldEnglish · 2 years agoCode interviews for a PHP developer rolesreddthat.comimagemessage-square126linkfedilinkarrow-up1344arrow-down122
arrow-up1322arrow-down1imageCode interviews for a PHP developer rolesreddthat.comRed@reddthat.com to linuxmemes@lemmy.worldEnglish · 2 years agomessage-square126linkfedilink
minus-square_thebrain_@sh.itjust.workslinkfedilinkarrow-up7·2 years agoNot one person in the comments has attempted to answer any of the questions either.
minus-squarethemusicman@lemmy.worldlinkfedilinkarrow-up15·2 years agoHaha good try. Hope your interview goes well
minus-squarebasdiljhs@lemmy.worldlinkfedilinkarrow-up14·2 years agofor(var i=0;i<=100;i++){ if((i%2)==1) console.log(i); } btw % is the modulo operator, x%y returns the remainder of division of x by y
minus-squaremoog@lemm.eelinkfedilinkarrow-up5·2 years agoThank you holy shit I was beginning to think no one has ever seen a fizz buzz before
minus-squareJeena@jemmy.jeena.netlinkfedilinkarrow-up4arrow-down1·2 years agoStrictly speaking this one does not find the odd numbers, it just prints them.
minus-squareGoun@lemmy.mllinkfedilinkarrow-up16arrow-down3·2 years agofor (i%1=0; i+2; int) odd++; cout(3)
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up1·2 years agoWill you give me the position if I answer the problems? 😀
minus-square_thebrain_@sh.itjust.workslinkfedilinkarrow-up1·2 years agoSure! I’ll hire you without even answering the questions. Of course I’m not the op, I dont work in the it field (any more) and none of my open positions involve programming… But you have a job with my company whenever you need one.
minus-squareBolt@lemmy.worldlinkfedilinkarrow-up1·2 years ago(0..=100).filter(|n| n % 2 == 1).for_each(|n| println!("{n}"))
Not one person in the comments has attempted to answer any of the questions either.
Haha good try. Hope your interview goes well
for(var i=0;i<=100;i++){ if((i%2)==1) console.log(i); }
btw % is the modulo operator, x%y returns the remainder of division of x by y
Thank you holy shit I was beginning to think no one has ever seen a fizz buzz before
deleted by creator
Strictly speaking this one does not find the odd numbers, it just prints them.
for (i%1=0; i+2; int) odd++; cout(3)
Will you give me the position if I answer the problems? 😀
Sure! I’ll hire you without even answering the questions. Of course I’m not the op, I dont work in the it field (any more) and none of my open positions involve programming… But you have a job with my company whenever you need one.
(0..=100).filter(|n| n % 2 == 1).for_each(|n| println!("{n}"))