Techolution interview question

What is indexing? How to do?

Interview Answer

Anonymous

27 May 2025

indexing in db is used for fast CRUD operation, it used B-Tree in behind the scene, and keeps the data in sorted order, that's why searching takes O(logn) instead of O(n).