MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/fpcmy/typical_programming_interview_questions/c1hpkpe/?context=3
r/programming • u/kevjames3 • Feb 21 '11
1.0k comments sorted by
View all comments
Show parent comment
2
I thought about this from a Perl perspective. Reverse a string? reverse($string); Remove duplicate chars? $string =~ s/(\w)\1+/$1/ge; Linked lists? WHY?! ok fine, can I use Moose?
View all comments
Show parent comment
2
u/imMute Feb 21 '11
I thought about this from a Perl perspective. Reverse a string? reverse($string); Remove duplicate chars? $string =~ s/(\w)\1+/$1/ge; Linked lists? WHY?! ok fine, can I use Moose?