Is treemap synchronized?



Is treemap synchronized?..

Answer / Ajay Kumar Pandit

No, a Treemap is not thread-safe by default. If you need a synchronized version for multithreading, use the concurrent.futures.ThreadSafeDict in Python.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What happens if we put duplicate key in hashmap?

1 Answers  


What is the best case time complexity of bubble sort?

1 Answers  


What is the best time complexity of bubble sort?

1 Answers  


What is sequential search?

1 Answers  


Explain multiply linked list in short.

1 Answers  


What are data and data types?

1 Answers  


What is the Difference between sax and dom parser?

1 Answers  


How hashmap increases its size?

1 Answers  


What do you mean by quadratic probing?

1 Answers  


What is the difference between ienumerable and list?

1 Answers  


What is binary tree in computer science?

1 Answers  


Explain binary search tree?

1 Answers  


Categories