Last active
July 19, 2019 03:54
-
-
Save Harshal96/cb0f4ecea5fc36d6a42dff22a17abfa3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| System.out.printf("%d %f %.4f", 3, Math.E, Math.E); | |
| // output: Output: 3 2.718282 2.7183 | |
| int[] q = new int[] { 1,3,4,5}; | |
| int position = Arrays.binarySearch(q, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment