Search online for standard questions asked by Arista.
Question 1: Space required for int, float, double etc...use sizeof(...)
Question 2: Total space taken up by a struct...Memory alignment causes space to be in multiples of bytes.
Question 3: Remove all nodes from a singly linked list that have a certain number. Use GDB for debugging.
Question 4: Anagram/Palindrome (don't remember)