I dropped out of high school, moved countries, finished high school, dropped out of college, went back to a different one. I wasn't dumb, I always had >99th percentile test scores, but I couldn't concentrate. Now I work at Big Tech since I'm good at interviews. However I did study algorithms VERY intensely. As in I read every textbook and did every exercise. Easily >1000 hours.