Pergunta de entrevista da empresa Arista Networks

Pointers and Error Handling: Predicting the output type of pointer-related questions. Identifying different types of errors associated with pointers. Discussing methods to fix pointer-related errors. Struct Size Calculation: Determining the size of a struct containing an int and a char. Coding to verify the size of the struct. Explaining the logic behind the size calculation. Struct and Bit Manipulation: Implementing functions to check if the k-th bit of an integer is set. Implementing functions to set the k-th bit of an integer. The struct provided included a char array. Data Structures: Understanding ordered and unordered maps. Discussing various collision resolution techniques for maps. Explanation of AVL tree balancing and rotations involved. Scenario-Based Question: Choosing an appropriate collision resolution technique for a given situation.