We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Because begin(), end() functions (not methods) are standard and work for all containers and even arrays like char[]. They are specialized to work with any container you might write too as long as it follows certain guidelines.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays Introduction
You are viewing a single comment's thread. Return to all comments →
Because begin(), end() functions (not methods) are standard and work for all containers and even arrays like char[]. They are specialized to work with any container you might write too as long as it follows certain guidelines.