C3AI 2021 Solution Engineer Internship OA Questions
Anonymous User
242

2 Questions , 90MIN- hackerrank - no webcam proctoring.
Difficulty - Hard

  1. 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
  2. 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.
Comments (0)