Last type would ideally be used when you're unaware of the value of n
for example highlight the last list item red
li:last-of-type
{
background: red;
}
if you know the value if n for your specific scenario then you would use the nth type
for example you always wanted to highlight the second list item blue you would use
li:nth-child(2)
{
background: blue;
}