Technical Interview: Phone: Difference between id and class, Explain Threads, Client side vs Server Side rendering Face-to-Face: Design an LRU (Least Recenty Used) Cache, Given an array [[1,2,3], [4,5,6],[7,8,9], rotate it to obtain the following result [[7,4,1], [8,5,2], [9,6,3]].
Anonymous
When rotating every column becomes the new row, so array[row[column]] becomes a[column[row]] .
Check out your Company Bowl for anonymous work chats.