Skip to main content

Data Structure types

Data types

Primitive types

Composite types or non-primitive type

Abstract data types

Some properties of abstract data types:
StructureOrderUnique
Listyesno
Associative arraynoyes
Setnoyes
Stackyesno
Multimapnono
Multiset (bag)nono
Queueyesno
Order means the insertion sequence counts. Unique means that duplicate elements are not allowed, based on some inbuilt or, alternatively, user-defined rule for comparing elements.

Linear data structures

A data structure is said to be linear if its elements form a sequence.

Arrays

Lists

Trees

Binary trees

B-trees

Heaps[edit]

Trees

In these data structures each tree node compares a bit slice of key values.

Multiway trees

Space-partitioning trees

These are data structures used for space partitioning or binary space partitioning.

Application-specific trees

Hash-based structures[edit]

Graphs

Many graph-based data structures are used in computer science and related fields:

if you want to know more see these websitehtttps:hackerearth.com

Comments

Popular posts from this blog

types of lighting

 BASIC TYPES OF LIGHTING Share   One room can serve multiple purposes. It can be a place where you can relax, work on the computer, do arts and crafts, cook, share a meal with friends, and much more… This is why lighting features need to correspond to the setting or application of the room. “The best advice I can offer is the following: no matter what you do, or what you hope to accomplish, always install three types of lighting in a room,” says Patricia Rizzo, of the  Lighting Research Center  . People often expect a single source of light to meet all their needs. Yet, each of the three types of lighting has a particular function to fulfill specific needs, which are: Ambient lighting Task lighting Accent lighting Ambient Indoor Lighting General or ambient lighting is intended to light up a room in its entirety. It provides a uniform level of illumination throughout the space independently of other lighting sources. Moreover, its...

Top Indian Innovative Startups for future

1.Grey Orange 1. GreyOrange Search Results Web result with site links Paytm - Wikipedia x Grey Orange  Robotics was set up in 2009 and is a first -of-its-kind venture for the Indian logistics industry. It builds robots that can move shelves stacked with various products to a floor  assistant who then scans a bar code to confirm the right  items . 2.Pine Labs Pine Labs is an Indian merchant platform company that provides   financing and last-mile retail transaction technology, founded in 1998. It is one of the unicorn    companies with a valuation of over US$1 billion. 3.Udaan Udaan  is a B2B trade platform that brings manufacturers, traders, retailers, and wholesalers into a single platform. The platform is about making business easy in India, about making B2B commerce convenient and efficient .  4.Khatabook Khatabook is a mobile app that helps small shopkeepers and Kirana store owners in  India manage ...