tvandame / back-end-developer-interview-questions

A list of helpful back-end related questions you can use to interview potential candidates. Inspired by the git-repo https://github.com/darcyclarke/Front-end-Developer-Interview-Questions.git
898 stars 148 forks source link

More organized. #1

Closed jmurowaniecki closed 11 years ago

jmurowaniecki commented 11 years ago

About the changes in

$strText = "i'm a lasagna hog";

$strTmp = str_split($strText);
$strTmp = array_reverse($strTmp);
$strTmp = join("",$strTmp);

echo $strTmp;

to

echo join("", array_reverse(str_split("i'm a lasagna hog")));

I've made this change just to make the code more similar the original in javascript

"i'm a lasagna hog".split("").reverse().join("");

..And added some links from table of contents to his respective sections.

Fortitudo et honor, Victoria ad fortes.

tvandame commented 11 years ago

Awesome!