JSFiddle - React, Tailwind, and code Playground

by rmadhuram

JavaScript

function s(n){a=1;while(a*a<=n)a++;return a-1}
alert(s(65535));