The end of Moore's law for CMOS technology has prompted the search low-power computing alternatives, resulting in promising approaches such as nanomagnetic logic. However, logic is unable to solve a class interesting problems efficiently, it only allows forward computing, due need clocking and/or thermal annealing. Here, we introduce self-organizing gates that can dynamically satisfy their logi...