What would the classes and methods for a "Hit Point Management" system look like, that has the following functions - increment(user, value), decrement(user, value), getHitPoints(user) and killAll()? The first two methods add/subtract the user's hit points by the amount in value. getHitPoints() returns a user's hit points and killAll() sets all users' hit points to 0. What are the run times of the methods? How can you make all the methods run in O(1)? Note: If we set the hit points data structure to null, or re-initialized it to a new structure, the garbage collector still has to do the work of going through all the users.
Machine Learning Engineer Interview Questions
6,173 machine learning engineer interview questions shared by candidates
They gave me a machine learning algorithim and asked me how would I derive loss function and why.
What is activation function, and what activation function is used a output layer?
How to use a bayesian framework for a ranking system. SQL queries. Read and explain some code from their codebase.
why do you choose this company
Machine Learning Algorithm related questions.
What are the pros and cons of SVM, LR, and RF?
Your Chinese mate in the company is drinking wine, how would you react?
Introduce yourself and your projects.
CV related questions, why xorlab?, motivations for the next position.
Viewing 5221 - 5230 interview questions