The following study by Juan Wu is an interesting and detailed comparative study of DN2, drawing from various early-Buddhist and non-early texts as well as the Jaina accounts. I want to place it here to link it to the search function for SuttaCentral. Maybe at some point somebody is interested to go through all the parallels mentioned to see if we have all of them on SuttaCentral. At present not many Jaina parallels are there.
Interesting detail here is that both Buddhist and Jains claimed that Ajatasatu was a follower of their sect.