Question d’entretien chez Qualcomm

i) Develop a square root function without using any of the inbuilt math libraries (Languages: Java, Python, C, C++)