Live data from Hacker News

Common Web Developer Interview Questions And Answers

blog.codegiant.io

11–19 of 19 posts

Re: Common Web Developer Interview Questions And Answers

#11
post #6

Example of a fibonacci recursion implemented in exponential time just after mentioning big-O notation? Looks just like one of those articles written by a copy-writer who knows nothing about programming and created the article by reading some similar articles thinking he understands it all now If I were interviewing someone, I would expect the linear solution and from a CS graduate would at least expect mentioning the…

[deleted]

Re: Common Web Developer Interview Questions And Answers

#12
post #6

Example of a fibonacci recursion implemented in exponential time just after mentioning big-O notation? Looks just like one of those articles written by a copy-writer who knows nothing about programming and created the article by reading some similar articles thinking he understands it all now If I were interviewing someone, I would expect the linear solution and from a CS graduate would at least expect mentioning the…

Do I get the job?

    defmodule Fibnoc do
      def fib(0), do: []
      def fib(1), do: [0]
      def fib(2), do: [1 | fib(1)]
    
      def fib(n) when n > 2 and is_number(n) do
        [a, b | _] = rest = fib(n - 1)
        IO.puts("a: #{a} b: #{b} rest: #{inspect(rest)}")
        [a + b | rest]
      end
    end
Although I wouldn't call these questions a great way to assess people for the job, they are fine as a way to weed out people who can't program at all. Most high schoolers spend hours leetcoding these days. I do wonder how tough the market would be by the time I can legally work given current trends of everyone jumping into IT jobs.

Re: Common Web Developer Interview Questions And Answers

#13
post #6

Example of a fibonacci recursion implemented in exponential time just after mentioning big-O notation? Looks just like one of those articles written by a copy-writer who knows nothing about programming and created the article by reading some similar articles thinking he understands it all now If I were interviewing someone, I would expect the linear solution and from a CS graduate would at least expect mentioning the…

Do I get the job? defmodule Fibnoc do def fib(0), do: [] def fib(1), do: [0] def fib(2), do: [1 | fib(1)] def fib(n) when n > 2 and is_number(n) do [a, b | _] = rest = fib(n - 1) IO.puts("a: #{a} b: #{b} rest: #{inspect(rest)}") [a + b | rest] end end Although I wouldn't call these questions a great way to assess people for the job, they are fine as a way to weed out people who can't program at all. Most high schoole…

How does implementing Fibonacci weed out people who can't program at all? Spending hours doing Leetcode is far from a reliable assessment of someone's programming skills.

Re: Common Web Developer Interview Questions And Answers

#14
> AJAX is a new technique for creating better, faster, and more interactive web applications with the help of XML, HTML, CSS, and JavaScript.

AJAX first appeared in 1999 [0], when people still ate Olestra and used pagers.

[0] https://en.m.wikipedia.org/wiki/Ajax_(programming)

Re: Common Web Developer Interview Questions And Answers

#15
post #13

Earlier quoted context omitted.

Do I get the job? defmodule Fibnoc do def fib(0), do: [] def fib(1), do: [0] def fib(2), do: [1 | fib(1)] def fib(n) when n > 2 and is_number(n) do [a, b | _] = rest = fib(n - 1) IO.puts("a: #{a} b: #{b} rest: #{inspect(rest)}") [a + b | rest] end end Although I wouldn't call these questions a great way to assess people for the job, they are fine as a way to weed out people who can't program at all. Most high schoole…

How does implementing Fibonacci weed out people who can't program at all? Spending hours doing Leetcode is far from a reliable assessment of someone's programming skills.

> Spending hours doing Leetcode is far from a reliable assessment of someone's programming skills.

That's what I mean tho. In high school, they start leetcode practice from day 1 of programming or CS classes. Soon, you will get many leetcoders in the market.

> How does implementing Fibonacci weed out people who can't program at all?

There are many people applying for jobs who can't program a buzz fizz. They exist. A fibonacci is enough to throw them off in an unfamiliar language.

Re: Common Web Developer Interview Questions And Answers

#16
post #13

Earlier quoted context omitted.

How does implementing Fibonacci weed out people who can't program at all? Spending hours doing Leetcode is far from a reliable assessment of someone's programming skills.

> Spending hours doing Leetcode is far from a reliable assessment of someone's programming skills. That's what I mean tho. In high school, they start leetcode practice from day 1 of programming or CS classes. Soon, you will get many leetcoders in the market. > How does implementing Fibonacci weed out people who can't program at all? There are many people applying for jobs who can't program a buzz fizz. They exist. A…

Well, for what it's worth I've been programming professionally for 4 years and never had to write fibonacci even one. I think doing something that's more immediately alike what you'll be doing in the project is more productive for both sides.

Re: Common Web Developer Interview Questions And Answers

#17
post #7

> Java developer interview questions are quite common. Who wrote this article again? An HR?

It's a very low quality article.

The section on 'How do you organize your class modules and assets?' doesn't contain any useful information at all.

It even defines AJAX and Big-O notation for us. Who's the target audience here? Someone trying to impersonate a knowledgeable web developer?

Re: Common Web Developer Interview Questions And Answers

#18
post #16

Earlier quoted context omitted.

> Spending hours doing Leetcode is far from a reliable assessment of someone's programming skills. That's what I mean tho. In high school, they start leetcode practice from day 1 of programming or CS classes. Soon, you will get many leetcoders in the market. > How does implementing Fibonacci weed out people who can't program at all? There are many people applying for jobs who can't program a buzz fizz. They exist. A…

Well, for what it's worth I've been programming professionally for 4 years and never had to write fibonacci even one. I think doing something that's more immediately alike what you'll be doing in the project is more productive for both sides.

What they are looking for is recursion. Of course I believe there are more efficient ways of doing Fibonacci in a normal loop.

Re: Common Web Developer Interview Questions And Answers

#19

> AJAX is a new technique for creating better, faster, and more interactive web applications with the help of XML, HTML, CSS, and JavaScript. AJAX first appeared in 1999 [0], when people still ate Olestra and used pagers. [0] https://en.m.wikipedia.org/wiki/Ajax_(programming)

People still use pagers...
Post reply on HN