A young mother was fatally stabbed with a "zombie knife" in front of her three-year-old daughter on the family day of Notting Hill Carnival, a court heard.