In the code warrior field, the US ranks quite poorly, and the fact that US software companies often outsource to an even lower ranked India doesn’t improve matters. Proclaiming oneself “exceptional” and “indispensable” are poor substitutes for doing the actual heavy lifting.
HackerRank did an assessment of its 1.5M users to answer the question: “… which countries do the best at programming challenges on HackerRank?”.
According to our data, China and Russia score as the most talented developers. Chinese programmers outscore all other countries in mathematics, functional programming, and data structures challenges, while Russians dominate in algorithms, the most popular and most competitive arena. While the United States and India provide the majority of competitors on HackerRank, they only manage to rank 28th and 31st.
You can see the full results here: http://blog.hackerrank.com/which-country-would-win-in-the-programming-olympics/
Not definitive, but it correlates well with more formal, high end competitions such as the ICPC (https://www.rt.com/news/343723-russian-programmers-icpc-contest-victory/)