Hydrogen has the tendency to gain one electron to acquire helium configuration. In this tendency, it resembles

Inert gases

Alkali metals

Halogens

Alkaline metals