Arista Interview

Anonymous User
103
Apr 15, 2024
  • Print Vertical height of tree.
  • How are static variables are stored in memory?
  • How is the c++ memory str?
  • How will you store sequence of task coming which are time sensitive in a data str?
    Which algo will you use?
    Singleton class implementation :
    How memory is divided in c++?

Which process return 1 or 0 in cpp ?
What does fork do?
What does exec do?
https://www.geeksforgeeks.org/difference-fork-exec/
Like in run time what happens when c++ code is executed which process keep it in memory ?
Which process will tell the exception that memory is full in case of infinite loop?
https://ideone.com/BELqLH
(Loop executed for infinite time)

Learn about tries...
Gave me a telephone directory question where I need to store name along with people phone number.

With typing substring I should be able to tell display all names starting with that substring.
.

How can I check in linux if two files are same or not if they have different name?
How can I sort out duplicate files?

Comments (0)