Wikipedia
The Kathāsaritsāgara ( Devanagari "Ocean of the Streams of Stories") is a famous 11th-century collection of Indian legends, fairy tales and folk tales as retold in Sanskrit by a Shaiva named Somadeva.
Kathasaritsagara is said to have been adopted from Guṇāḍhya's Brihatkatha, which was written in a poorly-understood language known as Paiśācī. The work is no longer extant but several later adaptations — the Kathasaritsagara, Brihatkathamanjari and Bṛhatkathāślokasaṃgraha. However, none of these recensions necessarily derives directly from Gunadhya, each may have an intermediate versions. Scholars compare Guṇāḍhya with Vyasa and Valmiki even though he did not write the now long-lost Brihatkatha in Sanskrit. Presently available are its two Sanskrit recensions, the Brihatkathamanjari by Kshemendra and the Kathasaritsagara by Somadeva.