Palakkgoyal401. Binary Watch(Solution || Leetcode easy || Java)A binary watch has 4 LEDs on the top to represent the hours (0–11), and 6 LEDs on the bottom to represent the minutes (0–59). Each LED…2 min read·Jan 2, 2023----
Palakkgoyal338. Counting Bits(Solution || Leetcode easy || Java)Given an integer n, return an array ans of length n + 1 such that for each i (0 <= i <= n), ans[i] is the number of 1's in the binary…1 min read·Dec 20, 2022----
Palakkgoyal191. Number of 1 Bits(Solution || Leetcode easy || Java)Write a function that takes an unsigned integer and returns the number of ‘1’ bits it has (also known as the Hamming weight).2 min read·Dec 20, 2022----
Palakkgoyal190. Reverse Bits(Solution || Leetcode easy || Java)Reverse bits of a given 32 bits unsigned integer.2 min read·Dec 20, 2022----
Palakkgoyal136. Single Number(Solution || Leetcode easy || Java)Given a non-empty array of integers nums, every element appears twice except for one. Find that single one.1 min read·Dec 19, 2022----
PalakkgoyalFinding Square root using Binary SearchToday we are going to see how we can find the square root of any number without using the inbuilt method.1 min read·Dec 12, 2022----