Duolingo restored a 10-year-old boy's 301-day language-learning streak after he missed lessons due to hospitalisation, earning praise for their compassionate response.