Nagarro Interview Question

what is stcak, tree, hash

Interview Answer

Anonymous

May 9, 2023

Stach: stack is a linear data structure that follows the LIFO (last in first out) principle.stack has one end point.stack is a logical concept that consists of a set of similar elements. Tree: A tree data structure is defined as a collection of objects or entities known as nodes that are linked together to represent or simulate hierarchy. It has a non linear structure consisting of nodes connected by edges. Hash: Hashing in data structure is a technique that is used to quickly identify a specific value with in a given array.