For example, if you have a tough problem at Google, and you come up with an O(n log n) or O(n²) solution. Can you at this point, post it somewhere inside of Google, to see if other people can come up with a O(n) or O(n log n) solution? (or maybe post it like a LeetCode problem inside of Google with test cases, and see if somebody can beat 99% of all other code?) #swe #google #algorithm
Leetcode style problems are incredibly rare to see in actual codebases.... and even if they do show up it’s not going to be that big of a problem for a goog engineer to solve so all this extra effort to find a better solution isn’t really necessary
Wikipedia: Protocol Buffers (Protobuf) is a method of serializing structured data. It is useful in developing programs to communicate with each other over a network or for storing data. The method involves an interface description language that describes the structure of some data and a program that generates source code from that description for generating or parsing a stream of bytes that represents the structured data. so it is like an interface definition.
@Cisco yes, think JSON model for your REST API. Except it's protobuf and not necessarily REST