Amazon Interview Question

Tell me about design patterns such as a Factory or Singleton.