We know that the number of ways of dividing (m+n+p) things into three groups containing m, n and p things respectively =m!n!p!(m+n+p)!
Further if any two groups out of the three have same number of things then number of ways =m!n!p!×2(m+n+p)!
Hence number of ways to divide 10 students into three teams one containing four students and each remaining two teams contain three =4!3!3!×210!=3×2×3×2×210×9×8×7×6×5=2100