虽然是美国TT的面经,级别是2-2,但是应该也有点参考性吧。Gobal Payment组:a is encoded as 1, b encoded as 2, ... i encoded as 9...j isencoded as 10如果出现两个及以上的char,用(#num) 表示ExampleString "abzx" --> s = "1226"String "aabccc" --> s = "1(2)23(3)"String "bajj" --> s = "2110#(2)"String "wwxyzwww" -> s = "23#(2)2426(3)给出一个encoded的string,要求return长度26的array,其中array[0] 是 'a' 在original string里出现的次数比如输入“1(2)23(3)“,要得到一个array = 2,1,3,0,0,0,0,0,0,0,0,0.......许久没面试,直接挂了Trust and Safety组一面:纯coding 695,follow up 827二面:聊简历的项目,聊挂了Capcut组codingbankSystemcredit(account,t, n), debit(account,t, n), balance(account), balance_change(account, t1, t2)写出来然后挂了.......不懂ADS growth组一面:int to roma charbinary tree to double link list, do it in space二面:问问项目细节SOA和微服务的区别remove 0 sum in linkedlist比如 1->2->-3->3->1因为1+2-3 = 0所以应该返回的就是3->1再比如2->2->-3->3->1因为-3+3 = 0所以返回2->2->1面完过了,但是有人fill了所以不move forward........感觉国内好像没有一个平台给跳槽的人发面经,不像一亩三分地有个地方发