Tesla 过经 + timeline

更新一个OA
Codility: Was given online assessment containing 2 programming questions and 1 sql question.

  1. Minimum number of characters to delete from a string so that each character appears unique number of times. Note: You can delete all occurances of characters.

eg: “aaaabbbb” -> 1 “a” or 1"b" would make “a” and “b” appear unique number of times.

  1. Given number in binary form, if its even -> you can divide it by 2; if its odd -> you can substract 1 from it. You can repeat above steps as many times as you want to reach 0. How many steps it took to reach zero?
  2. SQL question to select records from two tables using joins etc.