Does an infinite-scroll page on its own url and a paginated page on another url with the same content hurt SEO?


My index page is an infinite scrollable page. I also have a paginated page on another url say /posts with the same content; like how SO’s index page and /questions page have the same content.

Will this negatively affect SEO? Will these pages compete for fame seo-wise? If yes, how to prevent this while keeping the infinite-scroll effect.