I mean, it's really easy.
Edition 1: OD&D
Edition 2: Holmes Basic(1977)
Edition 3: Moldvay Basic(1981)
Edition 4: Mentzer Basic(1983)
Edition 5: Denning Basic(1991)
Edition 6: Stewart Basic(1994)
Edition 1: AD&D
Edition 2: 2e AD&D
Edition 3: 3e AD&D
Edition 4: 4e AD&D
Edition 5: 5e AD&D
WotC dropped the "AD&D" from print, but since 3e-5e are direct sequential editions of 2e AD&D, they remain versions of AD&D. The half editions are not full editions, so don't alter the AD&D edition numbers. They had the potential to be full editions, but WotC decided not to go that route.