https://codeanddebug.in/blog/union-of-2-sorted-with-duplicates/