How do you store employee details in python which DS is more appropriate?

A hash table is a great data structure if you need to look things up efficiently (amortized constant time) and conveniently by key. And a Python dict uses a hash table, so it does exactly what you want out of the box.

Sizin İçin Seçtik  How do I get employee details in python?

Leave a Reply

Your email address will not be published. Required fields are marked *