Mining engineer Interview Questions
122
Mining Engineer interview questions shared by candidates
List the strings that are anagrams from a set of strings?
2 Answers↳
Sorting the strings is not optimal because each sort is O(N log N) where N is the number of characters in each word. A more optimal solution is to create a function to encode each word as a hash table of character frequencies, which is O(N) for each word. Less
↳
sort the strings and compare

How would you design a recommendation system (like amazon)?
2 Answers↳
Use collaborate filtering to compare personal preference with others. If A and B are similar, we can recommend preferred items in B to A. Less
↳
Why downvote on other answer? He/she is right. Collaborative filtering is the most common strategy for recommendation systems. You see user A buys these things and user B also bought those things but user B bought this other thing too so let's show that thing to User A. Less

Implement a sampling function with nominal distribution.
2 Answers↳
I think you mean Normal distribution! If you are using R use set.seed(). You can then use rnorm() with size, mean & SD. e.g. >set.seed(123) >rnorm(100, 2, 5) Less
↳
I'm the original poster, sorry for my typo. I actually mean multinomial distribution. And the advanced question was, if the probability is a skewed distribution, how would you speed up your algorithm. You can find both answer from Wikipedia. :) Less
Tell me about your past experience in engineering.
1 Answers↳
Provided examples from my education and work.


The typical S-T-A-R questions, sometimes reformatted - describe Situation or Task for "X", could be difficult person,etc, what was the Action you took, and the corresponding Result. Once this progression is understood and planned for, interviews are less stressful.
1 Answers↳
All of them I prepare ahead, anticipating examples for various job characteristic experiences I had in the past Less

Où te vois-tu dans 5 ans
1 Answers↳
Comme une personne stable financièrement avec un plan familial en processus

Only one easy/medium leetcode question during the coding module.
1 Answers↳
I got the optimal solution (with a couple nudges but time to spare), yet apparently this was the only module where I did not "meet expectations." Shame that some presumably small mistake in my first hour was enough to discount the otherwise very strong 6 hour interview. Less

