egg dropping Algorithm

The soup is completed by adding a thin stream of beaten eggs to the boiling broth in the final moments of cooking, make thin, silken strands or flakes of cooked egg that float in the soup. Egg drop soup (Chinese: 蛋花湯; pinyin: Dànhuātāng) is a Chinese soup of wispy beaten eggs in boiled chicken broth.

egg dropping source code, pseudocode and analysis