2 Questions , 90MIN- hackerrank - no webcam proctoring.
Difficulty - Hard
- Jump Flag (easy)-https://stackoverflow.com/questions/59685959/jump-to-given-number-in-fixed-least-number-of-steps-in-python
Given a flag height and bigJumps you can take, how many jumps needed to reach the flag height?
say flagHeight = 8
bigJumps = 3
need flagHeight // bigJumps + flagHeight % bigJumps to reach flagHeight == 6+2 ==8
- who's the closest (hard for me)- https://leetcode.com/discuss/interview-question/402031/ibm-oa-2019-whos-the-closest, https://leetcode.com/discuss/interview-question/176293/find-closest-repeating-character-in-a-string
I could pass only few testcases!
Note - Applied via referral and got assessment the next day! Awaiting results.