Efficient Algorithm for Set Union: Optimize OR Operation in Data Structures