0 0 votes Data Structures data-structures + – Gaurav Kadyan 468 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote in DS if you are asking about load factor In hashing, then the load factor refers to the ratio of the number of elements stored in a hash table to the total number of slots or buckets available in the table. It is used to measure how full or empty a hash table is. The load factor is typically denoted by the symbol "λ" (lambda) and is calculated as: Load Factor (λ) = Number of Elements / Number of Slots The load factor determines the efficiency and performance of a hash table. When the load factor is low, it means that the table has a lot of empty slots, which can result in wasted memory space. On the other hand, when the load factor is high, it indicates that the table is approaching its capacity, and collisions (the situation where two or more elements are mapped to the same slot) are more likely to occur. prajjwal_191 answered Jul 13, 2023 prajjwal_191 comment Share Follow 0 reply Please log in or register to add a comment.