Gulshan Kumarperfinsights.hashnode.dev·an hour agoAdd BinaryGiven two binary strings a and b, return their sum as a binary string. LeetCode Problem - 67 import java.math.BigInteger; class Solution { // Method to add two binary strings public String addBinary(String a, String b) { // Convert t...DiscussJava SolutionbigInteger

Subhradeep Sahasubhradeepsaha.hashnode.dev·Apr 30, 2024Solving a Leetcode problem daily — Day 4 | Add Binaryhttps://medium.com/@subhradeep_saha/solving-a-leetcode-problem-daily-day-4-add-binary-24a98c1df7c5 Here is the leetcode problem link — https://leetcode.com/explore/learn/card/array-and-string/203/introduction-to-string/1160/ 1. Problem Statement,...DiscussSolving a Leetcode problem dailybinary

Manikanta Inugurthimanicodes.hashnode.dev·Apr 9, 2024Demystifying Floating Point Numbers: How Computers Store and Handle ThemLast week when I was having lunch, I suddenly thought of how floating point numbers are stored in binary representation. Even though I've been programming for a while, I couldn't remember and took this for granted. Let's dive into this basic idea tog...Discussbinary

Sean Coughlinblog.seancoughlin.me·Mar 29, 2024Mastering Bit Manipulation in LeetCode Challenges: A Guide to Counting BitsIntroduction In the realm of software engineering, bit manipulation stands out as a fundamental skill, especially when navigating through coding interviews. A quintessential example of such a challenge is found in LeetCode's "Counting Bits" problem (...Discuss·28 readsSWE Interview PreparationPython

Gulshan Kumarperfinsights.hashnode.dev·Mar 23, 2024Binary Subarrays With SumGiven a binary array nums and an integer goal, return the number of non-empty subarrays with a sum goal. A subarray is a contiguous part of the array. LeetCode Problem - 930 import java.util.HashMap; import java.util.Map; class Solution { // Met...DiscussJava SolutionJava

Nidal Iguerblog.inidal.dev·Mar 18, 2024Unlocking the Code: A Beginner's Guide to the Digital Frontier📝 Introduction for Beginners: This article is crafted to introduce programming concepts in a way that's accessible to beginners. It aims to simplify complex ideas into understandable terms. While this introduction serves as a great starting point, t...Discuss·33 readsDev Journeyparadigm

Jinali Ghogharijinali.hashnode.dev·Mar 13, 2024Dart Bitwise & Shift OperatorsDart provides powerful tools for manipulating binary data at the bit level through bitwise and shift operators. Bitwise Operators Operator signOperator Name &AND ^XOR ~Bitwise NOT Shift Operators Operator signOperator NameOperator Desc...DiscussDartshift right

Teogenes Mouratech.teomoura.com·Feb 29, 2024Reviewing binary number basics with my wife at 3 am on a SundayBefore we start: Remember to sign up for the blog! It's free and you'll get awesome content directly to your inbox 😁 Last Saturday, my wife Hannah and I were having dinner with a couple of friends of ours who are both technical people. Inevitably,...Discuss·1 like·47 readsComputer Science

Maxat Akbanovmaxat-akbanov.com·Feb 28, 2024How to manually convert decimal numbers to binary and vice versaSometimes you won't have a calculator right beside you and you will be forced to convert decimal numbers to binary or vice versa by hand. For example, you may need to calculate the network and host IP addresses by using subnet mask. In this article I...Discuss·45 readsComputer ScienceDevops

clockworkclockwork.hashnode.dev·Feb 19, 2024ELF - executable linkable file.noise howdy_amigos, In this post I want to dig into the ELF file format. In case you never heard of this - it's the format for executable files, or binaries, on Linux. Binaries contain operational codes, metadata and memory sections, combined into a...Discuss·36 readsLinuxelf