How i've failed programming challenge on Turing.com

Thats how its done when there is no preparation and warm up.
1. I tried to copy the template to VSCode using Ctrl+C - Ctr+V and just messed up the template.
2. Incorrectly read the task. It should do reverse() not sort().
3. Did too little sample tests (thats why in showed OK inspite of major logical mistake).
4. I didn't do any warmups for a month. In fact i haven't coded in a while - thats why i kept forgetting regex.
5. And all that lead to complete lack of time for a second challange.
And finally - when recording (or programming when someone watching) you make a lot more mistakes. Thats how i failed toptal.com last year (i did passed online tests), but failed really simple one on an interview.
So im gonna continue filming my attempts at taking tests - i hope it is a good practice for live interviews.

Пікірлер: 118

  • @waifufx
    @waifufx Жыл бұрын

    I love the fact that you had the courage to open a real test, I am also in the Coding Challenge Phase too, I am just inspired. Good work Sir

  • @kevinobuya6013

    @kevinobuya6013

    9 ай бұрын

    I have done the coding challenges more than ten times and have passed, with different emails.

  • @skzahirulislam2820

    @skzahirulislam2820

    9 ай бұрын

    ​@@kevinobuya6013same question every time ?

  • @davidaddis2525

    @davidaddis2525

    6 ай бұрын

    @@kevinobuya6013 are you hired right now?

  • @irfansaeedkhan7242

    @irfansaeedkhan7242

    3 ай бұрын

    @@kevinobuya6013 do you teach as well ? i want to pass as well,

  • @sameer9641

    @sameer9641

    24 күн бұрын

    @@kevinobuya6013 Hi there I want to pass this coding and I am really working hard please can you give this question so will practice and will be able to clear it

  • @Witzige3Fette
    @Witzige3Fette8 ай бұрын

    Respect for going live with this, very nice. Keep it up.

  • @IgorKravets81

    @IgorKravets81

    8 ай бұрын

    Thanks!

  • @jyoshnasaripilli

    @jyoshnasaripilli

    Ай бұрын

    @@IgorKravets81 Have you passed the test now? You got job through Turing?

  • @mukailarashid5428
    @mukailarashid5428 Жыл бұрын

    Thanks for sharing! I really needed it.

  • @aadil4236
    @aadil4236Ай бұрын

    Thank you sir! I appriciate your effort. I learned a lot!

  • @jpg6113
    @jpg61137 ай бұрын

    Thank you for posting this! I also made the mistake of underestimating it and just going in without any practice for months.

  • @IgorKravets81

    @IgorKravets81

    7 ай бұрын

    Next time will be much easier!

  • @nikasamkharadze4656

    @nikasamkharadze4656

    7 ай бұрын

    so its not a rush? ive been getting emails from turing encouraging me to take test? because it think its better to practice for a while for me too ..

  • @oinn6216
    @oinn62164 ай бұрын

    It was really fun. Anger, depression, hate and hope all in one video. Good luck next time :)

  • @hextiandro
    @hextiandro8 ай бұрын

    Yo vi tu video ahora, y te agradezco mucho por compartir este sensacional video 🚀🚀🚀

  • @IgorKravets81

    @IgorKravets81

    8 ай бұрын

    Im glad it helped somehow ) thanks!

  • @user-vy1hx3bb5e
    @user-vy1hx3bb5e Жыл бұрын

    Best solution with O(n) would be two pointer technique and sliding window..for Problem one..but taking real test live was really great

  • @shubhamkashyap3762

    @shubhamkashyap3762

    11 ай бұрын

    function reverseOnlyLetters(s: string): string { let result: string[] = s.split("") let currPoint1Index = 0 let currPoint2Index = s.length - 1 while (currPoint1Index if (!/^[a-zA-Z]$/.test(s[currPoint1Index])) { currPoint1Index += 1 } else if (!/^[a-zA-Z]$/.test(s[currPoint2Index])) { currPoint2Index -= 1 } else { const temp = result[currPoint1Index] result[currPoint1Index] = result[currPoint2Index] result[currPoint2Index] = temp currPoint1Index += 1 currPoint2Index -= 1 } } return result.join("") } Thanks for the hint

  • @Your_mom_calls_me_luka

    @Your_mom_calls_me_luka

    2 ай бұрын

    @@shubhamkashyap3762i agree with this. But it’s kinda ambiguous if the char at the i position is a letter and the character at the j position isn’t. I’m sure we ignore the j position but the for the i position should we move on or try to reverse it with the next non letter j position

  • @didierliango6402
    @didierliango64029 ай бұрын

    Very nice video.

  • @boris3393
    @boris3393 Жыл бұрын

    The answer for me was use ascii of every number and ascii str1 - ascii str2 and you will find the letrero and convert to letter

  • @Splash-zt7kj
    @Splash-zt7kj10 ай бұрын

    Informative

  • @mubashirwaheed474
    @mubashirwaheed4748 ай бұрын

    29:00 "Yeah I am not gonna make it in two minutes" cracked me up lmao but thanks for the video tho

  • @MecksOnwenu
    @MecksOnwenu Жыл бұрын

    You did your best bro! I have been in that scope before

  • @IgorKravets81

    @IgorKravets81

    Жыл бұрын

    Thanks. Still I should have been more prepared )

  • @MecksOnwenu

    @MecksOnwenu

    Жыл бұрын

    @@IgorKravets81 Of course especially in time management

  • @DavidTheWiseOne

    @DavidTheWiseOne

    Жыл бұрын

    @@IgorKravets81 I have a question dear friend and that question is do they ask you to open the camera? how can i prepare for it?

  • @IgorKravets81

    @IgorKravets81

    Жыл бұрын

    @@DavidTheWiseOne No they did not ask for the camera, at least when I took the test...

  • @wickedknock9798
    @wickedknock97982 ай бұрын

    Brave man than 90 percent ty

  • @fun_vids001
    @fun_vids001 Жыл бұрын

    You did well bro.

  • @IgorKravets81

    @IgorKravets81

    Жыл бұрын

    Thanks ) ☺️

  • @susheelkumar291
    @susheelkumar291 Жыл бұрын

    You did well

  • @IgorKravets81

    @IgorKravets81

    Жыл бұрын

    Thank you for your support!

  • @abdulrafayakber3798
    @abdulrafayakber379820 күн бұрын

    i think you can just add these string characters reversely into array and then just convert it into string .This is an easy method let str='ab-cd' let newStr=[] for (let i = 0, j = str.length - 1; i newStr[j] = str[i]; } // Convert the array back to a string newStr = newStr.join(''); console.log(newStr)

  • @quocthai9382
    @quocthai9382Ай бұрын

    Just need two pointer and check variables for each pointer, right?

  • @programmingchannel6264
    @programmingchannel62642 ай бұрын

    I failed the challenge too, I felt my first question didn't give me enough information or explanation to solve it, so I by passed and solved the second challenge in less than 5 minutes. Even though I failed the challenge, the tiring profile opened for me. Am just going to fill the profile while waiting for a response

  • @JourneyWithMohsin

    @JourneyWithMohsin

    Ай бұрын

    So what happened, did you make it?

  • @SomtoMaduewesi
    @SomtoMaduewesiАй бұрын

    Wow. You did a good job. The only thing I think you missed was you used an array sort method instead of an array reverse method, on the array with only letters. Anyways. I never would have solved this honestly. 😂

  • @meetpatel2720
    @meetpatel27203 ай бұрын

    Can you tell me what further goes after passing skill assessment ?

  • @meetpatel2720
    @meetpatel27203 ай бұрын

    In coding test what they ask basically?

  • @ruyvieira104
    @ruyvieira10411 ай бұрын

    I passed those, but when i tried the "practical nodejs challenge" I failed because the question was written in such a way that it was hard to understand what the person tried to say. "the product_list payload contains a few parameters and all should be validated, and throws TypeError / RangeError / InvalidInputError to the caller if anything does not meet the specification" What exception type for what type of error? Was the function supposed to return a "product_list" ? Why, if it's asking for a single product to be "validated"? Insanely bad

  • @IgorKravets81

    @IgorKravets81

    10 ай бұрын

    Yeah, sounds like fun. I guess you have to get used to those tests to get comfortable. Or just work at some company where humans lead the interview right from the start

  • @pratikgohil7821

    @pratikgohil7821

    Ай бұрын

    did you manage to complete the practical challenge? i faced the same problem, I could not understand the question.

  • @ruyvieira104

    @ruyvieira104

    Ай бұрын

    @@pratikgohil7821 nope. I deleted my account on turing as well.

  • @abayomioluga7073

    @abayomioluga7073

    Ай бұрын

    ​@@pratikgohil7821hey bro, I also passed the coding challenge but failed the Node.js practical challenge, the question was very confusing. I do not want to complete my profile yet until I am through with all practical challenges, what is the next step after completing the practical challenge?

  • @ddarlio4015
    @ddarlio4015 Жыл бұрын

    you can not copy and paste in the turing editor.. something important to note

  • @roymauya6853

    @roymauya6853

    Жыл бұрын

    Thanks 😂😂

  • @kravetzpm

    @kravetzpm

    10 ай бұрын

    disable javascript, copy and paste, enable javascript

  • @khalifarmili1256

    @khalifarmili1256

    8 ай бұрын

    you will i guess have to reload the page when you disable JS@@kravetzpm

  • @markmendez1014
    @markmendez1014 Жыл бұрын

    Very good coders fail these tests all the time because of anxiety, unclear questions or just a poor editor like the one on Turing. It does not mean you are stupid. First time I did one I was so angry because I’m a frontend dev and did not expect to be asked to write someone stupid palindrome algo lol 😂 A better way to test is to ask to solve common problems you will encounter as a developer.

  • @bozzistef

    @bozzistef

    Жыл бұрын

    I agree with you. I have a computer science degree and I work as a frontend too. I've practiced a lot of algorithms and data structures problems since I've been in university but it still hard to take a problem like the second one if you have not been practicing recently. Also it is not correlated for a frontend position.

  • @IgorKravets81

    @IgorKravets81

    10 ай бұрын

    @@bozzistef also at current job I sometimes get stuck on the problem even without time pressure. For example with some weird css someone left me to figure out. Doesn't mean I'm stupid. Eventually I solve it and get better.

  • @anaalmeida2327

    @anaalmeida2327

    3 ай бұрын

    I thought I was the only one with this same opinion. I’ve been a front end for four years now and I was thinking I was the only stupid front end developer that couldn’t write those algos seamlessly.

  • @ramses_talks
    @ramses_talksАй бұрын

    Are you allowed to switch tabs in turing tests? Isn't your screen recorded?

  • @usamakr
    @usamakr Жыл бұрын

    Same thing happened to me. I know I am good at this, but the clock ticking gets me nervous. I wonder if Igor passed the test now. Its been 3 months.

  • @IgorKravets81

    @IgorKravets81

    Жыл бұрын

    I started to search a for a job a conventional way - via direct offers from companies. I did several test tasks and got four approvals during this period. I do work now, but searching for a new job with higher salary )

  • @usamakr

    @usamakr

    Жыл бұрын

    @@IgorKravets81 Kudos to you. I am preparing for the Turing test by learning algos. Looking forward to get some work.

  • @IgorKravets81

    @IgorKravets81

    Жыл бұрын

    @@usamakr best of luck, let me know how it goes!

  • @usamakr

    @usamakr

    11 ай бұрын

    @@IgorKravets81 Passed it this time. Yippee !!!!

  • @IgorKravets81

    @IgorKravets81

    11 ай бұрын

    @@usamakr great job!! Please share how the actual work goes.

  • @andrewknyazkov6877
    @andrewknyazkov687711 ай бұрын

    24:23 леттерс равно с сплит ахаххахаа

  • @ddarlio4015
    @ddarlio4015 Жыл бұрын

    the environment is very weird... the output is kind of hidden

  • @adeyvincent3570

    @adeyvincent3570

    Жыл бұрын

    I have thesame concerns. It thing it’s unnecessarily complicated. Did you get to retake it ?

  • @IgorKravets81

    @IgorKravets81

    10 ай бұрын

    No it was not hidden. I just didn't see it at first. Because I took training test a couple of weeks ago so I completely forgot where to look for console output

  • @IgorKravets81

    @IgorKravets81

    10 ай бұрын

    @@adeyvincent3570 no I did not retake it yet. I got employed by conventional old style way by applying to particular company

  • @theuncannyepicurean
    @theuncannyepicurean Жыл бұрын

    Are you allowed to google during the test?

  • @IgorKravets81

    @IgorKravets81

    Жыл бұрын

    I should hope so. Although I noticed the page seemed to react to switching tabs. Possibly it was taking notice on distractions.

  • @ddarlio4015

    @ddarlio4015

    Жыл бұрын

    @@IgorKravets81 true.. I think it is monitored

  • @olivierloukombo2082

    @olivierloukombo2082

    Жыл бұрын

    It's possible but you only have 30 minutes for two problems. I don't think that's good time management. That's why you have to master DSA.

  • @surekhasetty9753
    @surekhasetty97532 ай бұрын

    After completion of coding challenge what is the next step?

  • @IgorKravets81

    @IgorKravets81

    2 ай бұрын

    In my case: post a video of a failure ) although couple of years ago I passed similar test for toptal.com site and the next step was one more similar test, but online via a zoom call. I didn't pass that one, so I don't know what are steps beyond that.

  • @tmwquavo7459
    @tmwquavo74596 ай бұрын

    bro this turing bootcamp is free?

  • @stevenknb3439
    @stevenknb3439 Жыл бұрын

    I'm going to take it , any advice?

  • @IgorKravets81

    @IgorKravets81

    Жыл бұрын

    Yeah like I said: don't try to copy paste code - might screw up template. 2. Warm up - make sure you've been programming recently and remember basics. 3. Get to know where debug output goes ) 4. Make a lot of debug output to avoid stupid mistakes. 5. Make sure you fully understood the task. 6. Test resulting code against as many border cases as possible

  • @IgorKravets81

    @IgorKravets81

    Жыл бұрын

    and film it )

  • @themiracle8100

    @themiracle8100

    6 ай бұрын

    @@IgorKravets81 do they require filming a video passing the test ?

  • @user-vj3gm6on9e
    @user-vj3gm6on9e10 ай бұрын

    test =(str)=> { return str.split("").reverse().join().replaceAll(',',""); } let res = test("ab-cd"); console.log(res)

  • @bilalaslam6159
    @bilalaslam61596 ай бұрын

    Is it allowed to google during test ?

  • @IgorKravets81

    @IgorKravets81

    6 ай бұрын

    I'm not sure if it is forbidden. But you could switch to another window during the process. Maybe it is logged somehow though

  • @markmendez1014
    @markmendez1014 Жыл бұрын

    My solution would have been to remove the non letters and store them in a hash map with their indexes Then reverse the string and reinsert them using splice()

  • @viktor8050

    @viktor8050

    10 ай бұрын

    You could just do this if you want to make it step by step easy, reverse the string, and loop Trough the first string and if its a letter replace its index with the reverse string index.

  • @jaia466

    @jaia466

    7 ай бұрын

    Also what im thinking

  • @AlamKhan-yt9wd

    @AlamKhan-yt9wd

    6 ай бұрын

    But insert using splice() take O(N) time. So, ultimately, it becomes O(N^2)

  • @mr.pingpong502
    @mr.pingpong50210 ай бұрын

    Do you get another chance to clear the test?

  • @IgorKravets81

    @IgorKravets81

    10 ай бұрын

    Yes, after several months. I don't remember how much now. I think it is shown at the end of the video

  • @elimusa6764

    @elimusa6764

    5 ай бұрын

    yes, after 3 months

  • @AlamKhan-yt9wd
    @AlamKhan-yt9wd6 ай бұрын

    Did you take another try??

  • @IgorKravets81

    @IgorKravets81

    6 ай бұрын

    Not yet. I got a fulltime job at a company

  • @AlamKhan-yt9wd

    @AlamKhan-yt9wd

    6 ай бұрын

    @IgorKravets81 very nice. Could you make a video about your current status/job role/update

  • @IgorKravets81

    @IgorKravets81

    6 ай бұрын

    @@AlamKhan-yt9wd I don't think there is anything valuable left to share... Although I went through quite a lot of interviews and also screwed up a bunch of them. But all the advice I possibly could give on those - are already covered on KZread extensively. I think the best advice there is to take every interview you can - gain experience on passing them

  • @hilalinan3209

    @hilalinan3209

    5 ай бұрын

    @@IgorKravets81 I tried the practice challenge, the question was not difficult, but when I try to run tests, it failed and it showed errors some places but I never understand why. I would prefer using IDE. I mean the get method of an arraylist yielded an error. There were many errros. it was very sad so I am hesitating to start the code challenge.

  • @kbyoungblood6948
    @kbyoungblood694811 ай бұрын

    How many questions does this have?

  • @IgorKravets81

    @IgorKravets81

    11 ай бұрын

    I think there are two. Frankly I don't know )

  • @kbyoungblood6948

    @kbyoungblood6948

    11 ай бұрын

    @@IgorKravets81 okay, that's not too bad! Then how many test do you have to take?

  • @franky1116
    @franky11163 ай бұрын

    This env is not confortable at all. Explanation needs constrains too. The challange here is keep your stress out😅

  • @sergiocoder
    @sergiocoder10 ай бұрын

    Can anyone confirm that Turing is a legit way to find jobs? I passed a coding challenge and a few tech stack tests, but failed the practical challenge because their IDE is utterly slow and lacks autocomplete. And I'm also starting to doubt about the quality of this service - first of all, it's kind of silly that they advertise about "U.S. companies" jobs like every developer on the planet dreams to work for a USA company, secondly their quizzes are just some low quality garbage written by a junior dev, and moreover the questions often have nothing to do with the technology itself but rather with some popular 3rd-party library. Also, KZread is full of positive reviews published on their own channel instead of reviews from real people. that's what bugs me as well.

  • @millennyfeng9502

    @millennyfeng9502

    10 ай бұрын

    We're legit!! Can't wait to have you

  • @sergiocoder

    @sergiocoder

    10 ай бұрын

    @@millennyfeng9502 nah, you can't have cause I'm from a banned country

  • @rekcahY

    @rekcahY

    9 ай бұрын

    it's legit but passing the tests may be completely ignored by them. Best way is likely getting into contact with some from there to have real chances.

  • @pinakeekaushik4311

    @pinakeekaushik4311

    3 ай бұрын

    @@rekcahY Like even after passing all the rounds , do we have to nudge them for reminder? How was your experience can you share. Thanks

  • @augustonunesfarias4062
    @augustonunesfarias40626 ай бұрын

    bruuuh 💀

  • @louispaulet
    @louispaulet Жыл бұрын

    def reverse_letters_only(S): letters = [c for c in S if c.isalpha()] reversed_letters = letters[::-1] result = [c if not c.isalpha() else reversed_letters.pop(0) for c in S] return ''.join(result)

  • @jayangavliyanage
    @jayangavliyanage10 ай бұрын

    O(n) solution without any unnecessary if conditions (Increases the readability) let s = "Aa-D--dEe"; let frontPtr = -1; let backPtr = s.length; let outPutArr = []; for(let i = 0; i { let frontCharacter = s.charAt(++frontPtr); let backCharacter = s.charAt(--backPtr); while(!(/[a-zA-Z]/).test(frontCharacter)) { outPutArr[frontPtr] = frontCharacter; frontCharacter = s.charAt(++frontPtr); } while(!(/[a-zA-Z]/).test(backCharacter)) { outPutArr[backPtr] = backCharacter; backCharacter = s.charAt(--backPtr); } outPutArr[frontPtr] = backCharacter; outPutArr[backPtr] = frontCharacter; } let result = outPutArr.join(""); return result;

  • @ayushman_sr
    @ayushman_sr4 ай бұрын

    def rev(str): n = len(str) chk = lambda s: ord("z") >= ord(s) >= ord("A") p1, p2 = 0, n-1 str = list(str) while p1 if chk(str[p1]) and chk(str[p2]): t = str[p1] str[p1] = str[p2] str[p2] = t p1 += 1 p2 -= 1 else: if not chk(str[p1]): p1 +=1 if not chk(str[p2]): p2 -= 1 return "".join(c for c in str)