Can AI Excel in Programming Like Humans?