Qualcomm Interview Question

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