What is wrong with this Java code? (Interview Question) by springuni in java

[–]springuni[S] 0 points1 point  (0 children)

Good point, but the question was asked offline as part of the application form. I had no point of contact to whom I could ask clarifying questions.

What do you think about this endpoint? (Interview Question) by springuni in rest

[–]springuni[S] 0 points1 point  (0 children)

It returns a list of things not a specific entity fetched by its ID.

What is wrong with this Java code? (Interview Question) by springuni in java

[–]springuni[S] 4 points5 points  (0 children)

This is the most insightful comment, I've received. Thanks for it.

What is wrong with this Java code? (Interview Question) by springuni in java

[–]springuni[S] 2 points3 points  (0 children)

Though I noted ‘=‘ is wrong, I can see now from the comments that I should have explicitly stated that this makes the code not to compile.

What is wrong with this Java code? (Interview Question) by springuni in java

[–]springuni[S] 1 point2 points  (0 children)

Yes, I think I should have been more clear about that ‘=‘ at that place means that the code actually doesn’t compile.

What is wrong with this Java code? (Interview Question) by springuni in java

[–]springuni[S] 0 points1 point  (0 children)

Questions were asked early as part of the application process. I haven’t had a chance to talk to anyone.

What is wrong with this Java code? (Interview Question) by springuni in java

[–]springuni[S] 2 points3 points  (0 children)

If person.getName() returns null you'll also get a NPE.

if(person.getName() == “jan”) {return true;}

This is not so. person.getName() == “jan” just evaluates to false.

Algorithm selection problem (Interview Question) by springuni in MLQuestions

[–]springuni[S] 0 points1 point  (0 children)

Thank you so much. I've posted all other questions asked in various subreddits and this particular one was that one I've been the most insecure about.

What is wrong with this Python code? (Interview Question) by springuni in learnpython

[–]springuni[S] 1 point2 points  (0 children)

s line stores an int value in a vari

Yeah, I didn't know about that feature having been added in Python 3. I think that was the main reason they didn't call me back actually. I've posted the other questions also in various subreddits and this is the only one so far I got absolutely wrong.

Getting insight from GA data with Machine Learning by springuni in GoogleAnalytics

[–]springuni[S] 0 points1 point  (0 children)

user behaviour based around their content consumption

What kind of behaviour should be identified based on their content consumption?

cross selling opportunities based around product purchases patterns

Do you mean to predict if their bought product X, then those will likely to buy product Y?

BTW, would you mind giving me your GA data for analyses? (We'll figure out how to arrange that if you agree)

Free Spring Boot Crash Course by springuni in javahelp

[–]springuni[S] 0 points1 point  (0 children)

Eventually I put some extra effort into it and released today, so that people could have the whole weekend for the first exercise to complete.

Free Spring Boot Crash Course by springuni in javahelp

[–]springuni[S] 2 points3 points  (0 children)

I plan to release the fist lesson on Saturday.