The contiguous 48 states of the U.S. are bordered on the east by the Atlantic Ocean and on the west by the Pacific Ocean. The state of Alaska is bordered on the south by the Pacific Ocean and on the north by the Arctic Ocean.
Every state except for Hawai'i and Alaska is bordered by another state. Alaska is however bordered not by a state but by two Providences in Canada: Yukon Territory (east) and British Columbia (southeast). Hawai'i is not bordered by any state or providence.