We explain how the string spectrum in flat space and on a 10d pp wave with 32 supersymmetries arises from U(Nc) N=4 Super Yang-Mills in the large Nc limit, with fixed g2YM. We reproduce the spectrum by summing a subset of the planar Feynman diagrams. We give a heuristic argument why we can neglect other diagrams. We also present the matrix model associated with the DLCQ description of a 11d pp-wave with 32 supersymmetries (the Kowalski-Glikman wave) and discuss its properties.