Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; COUNT_CLASS has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/functions.php on line 1713

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; sidebar_generator has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/plugins/multiple_sidebars.php on line 29

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_video_widgets has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/video.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_soundcloud has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/soundcloud.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_counter_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/social-counter.php on line 9

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_news_in_pic has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/new-in-pic.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Flickr_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/flickr.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_fb_likebox has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/fb.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_google_follow has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/google-follow.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_popular has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/popular-posts.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_recent_posts has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/recent-posts.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_cate_posts has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/category-posts.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; tabs_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/tabs.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_youtube_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/youtube-subscribe.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_social_links has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/social-links.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_comments_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/comments.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_author_bio has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/bio-author.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_login has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/login.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_search_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/search.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_120_600_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads120.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_125_125_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads125.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_250_250_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads250.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_300_300_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads300.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_tweets_load has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/twittes.php on line 10

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; feedburner_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/newsletter.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_related has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/related.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_slider has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/slider.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_top_rate has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/top-review.php on line 6
Live Mock Technical Interview – JavaScript | D4mations.com
  • Thursday , 25 April 2019

Live Mock Technical Interview – JavaScript

Code Canyon



We recently hosted a mock interview where an experienced interviewer conducted a mock technical interview with a candidate looking for a front-end developer job. It included algorithm questions, coding exercises, feedback, and audience Q&A.

Book a mock interview with Dan: https://www.codementor.io/blackmind?utm_source=youtube&utm_medium=social&utm_campaign=outreach&utm_term=office-hours-20161020&ref=OH-youtube-JS-mock
More live events: https://www.codementor.io/learn/office-hours?utm_source=youtube&utm_medium=social&utm_campaign=outreach&utm_term=office-hours-20161020&ref=OH-youtube-JS-mock

Original source

3d Ocean

Related Posts

44 Comments

  1. Codementor
    March 21, 2019 at 16:03

    Thanks for all the great comments! For more live events, check out: http://codemntr.io/2lxsUrL
    We also have a great JS interview questions post for anyone interested!
    http://codemntr.io/2laI3yj

  2. Victor Nascimento
    March 21, 2019 at 16:03

    His answers were really shallow, he gave wrong answers sometimes and his coding challenge, despite being an easy task, was a cringe to watch.

  3. uopuaɹq aʞsıld
    March 21, 2019 at 16:03

    All this is fine, but NOTHING beats an audition project to build and put on GitHub for scrutiny. THAT is how you see what a person is capable of. They have a timeframe to build it, they use their tools, their environment, their methodologies and there is very little pressure as it's not done live, just by a deadline. Most interviews that consist ONLY of what you've shown here do not give you the full picture. Likely you'll wind up with a bookworm who knows C.S. fundamentals but can't actually build anything out to production.

  4. Все про все!!!!!! да
    March 21, 2019 at 16:03

    а на русском нельзя

  5. NadirABBAS
    March 21, 2019 at 16:03

    WHY ARE YOU SHAKING?!!?!

  6. Akpareva Innocent
    March 21, 2019 at 16:03

    ummm… i um hate um the um. please go do something about the ums and uhs

  7. Haejin Jo
    March 21, 2019 at 16:03

    8:16-32 is gold i love him

  8. Mark2ube
    March 21, 2019 at 16:03

    “I’ve been interviewing for 10 years and I’ll ask you some very basic web based questions… OK, explain to me how https works.” Seriously?

  9. B33SON
    March 21, 2019 at 16:03

    Palindrome is wrong… forgot to do the comparison to the original string

  10. The Race Analyst, PHD
    March 21, 2019 at 16:03

    Brutality…

  11. Scott Chen
    March 21, 2019 at 16:03

    The solution of question at 38:40

    def bt(strNum, idx, cur, res):
    if idx == len(strNum):
    res.append(cur)
    return

    i = idx + 1
    while i <= len(strNum):
    sub = int(strNum[idx: i])
    if sub <= 26 and sub > 0:
    temp = chr(sub + ord('a') – 1)
    bt(strNum, i, cur + temp, res)
    i += 1

    def main(num):
    res = []
    bt(str(num), 0, '', res)

    return res

    print(main(12258))

  12. krige
    March 21, 2019 at 16:03

    aaaaaammm

  13. Alex Ershov
    March 21, 2019 at 16:03

    Absolutely epic interview prep material! Check more Full Stack Interview Questions And Answers on http://www.fullstack.cafe.

  14. Urix
    March 21, 2019 at 16:03

    // 1 2 2 5 8

    let letters = "abcdefghijklmnopqrstuvwxyz";

    function f1 (input, string = "") {
    if (input.length === 1) {
    let i1 = parseInt(input);
    if (i1 > 0) {
    console.log(string + letters[i1-1]);
    return 1;
    } else {
    return 0;
    }
    } else if (input.length > 1) {
    let count = 0;
    let i1 = parseInt(input.substring(0,1));
    if (i1 > 0) {
    count += f1(input.substring(1), string + letters[i1-1]);
    }
    let i2 = parseInt(input.substring(0,2));
    if (i2 > 0 && i2 < 27) {
    count += f1(input.substring(2), string + letters[i2-1]);
    }
    return count;
    } else {
    console.log(string);
    return 1;
    }
    }

    console.log(f1("12258"));

  15. Joe B
    March 21, 2019 at 16:03

    function translateToStrings(number) {
    var firstLetterCode = "a".charCodeAt(0);
    function translate(numStr, pos, result) {
    if (pos == numStr.length)
    return result;
    var strings = [];
    // could iterate 2 times, but iterating to end to allow 0's
    for (var i = pos + 1; i <= numStr.length; i++) {
    var letterIndex = parseInt(numStr.slice(pos, i)) – 1;
    if (letterIndex >= 0 && letterIndex < 26) {
    var letter = String.fromCharCode(firstLetterCode + letterIndex);
    strings = strings.concat(translate(numStr, i, result + letter));
    }
    }
    return strings;
    }
    return translate(number.toString(), 0, "");
    }
    console.log(translateToStrings(12258)); // ["abbeh", "abyh", "aveh", "lbeh", "lyh"]
    console.log(translateToStrings(122580001)); // ["abbeha", "abyha", "aveha", "lbeha", "lyha"]

  16. ashujbp80
    March 21, 2019 at 16:03

    var printChars = function(str, position, output){

    if(position == str.length) console.log(output);
    if(position >= str.length) return;

    printChars(str, position + 1, output + String.fromCharCode(96 + parseInt(str.substr(position, 1))));
    if(parseInt(str.substr(position, 2)) <= 26)
    printChars(str, position + 2, output + String.fromCharCode(96 + parseInt(str.substr(position, 2))));

    }
    printChars("12258", 0, "");

  17. nickwalshblog
    March 21, 2019 at 16:03

    Thanks

  18. Eric Bishard
    March 21, 2019 at 16:03

    The solution he did for the palindrome should split on a space not an empty string. Also the duplicate finder will not work if you have more than one repeat in a row. But I love this video, these are the exact type of stupid questions I'm asked during interviews. lol and you need to know them not matter how silly they seem. Half the battle is just talking through it, even the novice programmer can psuedo code and then brute force the solution with for loops, like he said, coming up with solutions that perform well are key to standing out in interviews.

  19. Ishtmeet Singh
    March 21, 2019 at 16:03

    Don't you think, calling node as single threaded is a bit wrong? Node is built on the top of Libuv, i.e C++ library to handle HTTP requests. All the FileSystem module operations, Crypto module operations(eg. PBKDF2 function) uses multi-threads, isn't it? And moreover we have a global variable called UV_THREADPOOL_SIZE, which could be set to any number (the number of threads you want). We could even utilize the whole cores of a system, by using OS module's cores() function, to get the number of cores, and set the threadpool size accordingly. So, in my opinion, node isn't "single threaded".

  20. Kumar Anindo
    March 21, 2019 at 16:03

    jin yang of silicon valley and the interviewer is also from hollywood serials i guess i have seen him somewhere

  21. hbb
    March 21, 2019 at 16:03

    First question more about Rest/Get/Post works. If you ask HTTP, you gotta explain OSI model and 7 layers of it.

  22. i_am_grid
    March 21, 2019 at 16:03

    Took a while to get it right, but I was able to come up with a solution to the last exercise, check it out here: https://github.com/keatsdothu/js-cheatsheet (Starts around line 170, under the CHAR CODE TRANSLATOR heading). Open a new issue if you've got some feedback or a better method, I'd love to read it! 🙂

  23. Ping
    March 21, 2019 at 16:03

    小哥哥加油

  24. mankindbg
    March 21, 2019 at 16:03

    mhm

  25. Eugene Fuller
    March 21, 2019 at 16:03

    This was painfull to watch/ listen to

  26. guitar6029
    March 21, 2019 at 16:03

    you would save so much time by using map, filter, reduce

  27. BJ Martin
    March 21, 2019 at 16:03

    I counted 314 ums and then I gave up.

  28. Stanislav Sushkov
    March 21, 2019 at 16:03

    In fact that is palindrome func shouldn't work as wanted. It not returns noolean value, it just reverse the string

  29. Sándor Vasas
    March 21, 2019 at 16:03

    Why should you know the http handshake from the top of your head as a JS developer?

  30. Patrick Holtzman
    March 21, 2019 at 16:03

    He just reversed the string in the palindrome question. It should be a boolean like this:

    const isPalindrome = str =>
    str ? str === str.split("").reverse().join("") : false;

  31. Mark Valentine
    March 21, 2019 at 16:03

    Maybe I missed it, but he never did expand upon what are the down side of closures did he?

  32. Csaba Kiss
    March 21, 2019 at 16:03

    umm

  33. gopher
    March 21, 2019 at 16:03

    last task can be solved by walking from end of digits array and permutaring with already computed subarray at i+1 and i+2 if 2-digits letter available:
    1,2,2,5,8
    [_ _ _ _ _]
    [_ _ _ _ [h]]
    [_ _ _ [eh] [h]]
    [_ _ [beh yh] [eh] [h]]
    [_ [bbeh byh veh] [beh yh] [eh] [h]]
    [[abbeh abyh aveh lbeh lyh] [bbeh byh veh] [beh yh] [eh] [h]]

  34. ɐʞoʎǝH
    March 21, 2019 at 16:03

    Letting the grasshopper off easy with the palindrome code, aren't we? I mean, if you'd asked for a function that reverses a string, then he get 10/10.

    Interviewer replied to the string reversal function with,"Yep! Perfect!"

    Interviewer needs to be interviewed!

  35. Samuel Barney
    March 21, 2019 at 16:03

    UMMM

  36. CPG
    March 21, 2019 at 16:03

    His answer to the palindrome question is wrong. He was asked to check if a word was a palindrome. His function simply returns the word in reverse.

  37. Martin Schulz
    March 21, 2019 at 16:03

    here's my code for "number representing as string" task https://repl.it/MQ7o

  38. Artur Domański
    March 21, 2019 at 16:03

    Very helpful video.
    Sub.

  39. AdityaFingerstyle
    March 21, 2019 at 16:03

    const fun = (char, str) => {
    return str.split('').filter(ch => char === ch).length;
    }

    const findDup = (arr) => {
    let mem = {};
    arr.forEach(n => mem[n] = mem[n] ? mem[n]+1 : 1);
    return Object.keys(mem).filter(key => mem[key] > 1)
    }

  40. Fernando Fernando
    March 21, 2019 at 16:03

    If the interviewer didn't add anything to the applicant's response, can we take the applicant's answer as a good/correct answer? Or, did the applicant get any answers wrong?

  41. Elregar71
    March 21, 2019 at 16:03

    i cant even understand the guy

  42. webman
    March 21, 2019 at 16:03

    Thanks for the cool video. Below my front end interview questions:
    https://github.com/wwwebman/front-end-interview-questions
    Maybe will helpful for someone 🙂

  43. Vamshi Krishna
    March 21, 2019 at 16:03

    he looks like JING YANG from silicon valley….😂

  44. Ionut Morariu
    March 21, 2019 at 16:03

    18:53 typeof NaN is not a string, typeof NaN is actually of type number

Leave A Comment

You must be logged in to post a comment.