Algorithms In Swift : Reverse String In Order (DAY 8)

preview_player
Показать описание
DAY 8: ALGORITHMS IN SWIFT

Problem Source Credit - Swift Coding Challenges by Paul Hudson (Creator of Hacking With Swift)

Today's video is not only special due to the fact that we're solving a rather difficult problem but more so that this specific problem is a problem that a friend of mine was tested on during a recent interview at a BIG TECH COMPANY (I won't say the name) which makes it much worthy of vetting and critical discussion.

Watch the video and check out my solution. Comment any proposed solutions you may have and share with anyone that's going through the coding interview process. Happy Saturday!

Our problem states, "Write a function that returns a string with each of its' words reversed but in the original order, without using a loop". The clause of not using a loop and keeping the individual words in order makes this quite tricky but certainly very solvable if we recognize functional programming to be our friend. (Hint, Hint)

Test Cases
My name "Kevin Tarr" should return "niveK rraT"
"I'm an iOS Engineer" should return "m'I na SOi reenignE"
"Hello World" should return "olleH dlroW"
.
.
.
.
.
.
.
.
#iOS #Swift #Apple #ObjectiveC #Algorithms #Interviews #interview #interviewquestions #algorithm #interviewing #learn #coder #programmer #computerscience #codinglife #coding #technology #techinterview #tech #augmentedreality #codingtest #virtualreality #coders #code #datascience #linkedin #softwareengineer #interviewprep #iosappdevelopment #engineer #iosengineer #bigdata #ai #arvr #vr #artificialintelligence #ar #blockchain #HackingWithSwift #learninganddevelopment #software #PaulHudson #lynda #machinelearning #data #technology #blockchain #ai #artificialintelligence #technologies #science #siliconvalley #app #learning #share #learnandgrow #techinterviews #augmented_reality #nerds #functions #learninganddeveloping #WWDC #WWDC2020 #google #facebook #amazon #netflix #FAANG
Рекомендации по теме
welcome to shbcf.ru