Shourya Shahshouryashah.hashnode.dev·Jul 22, 2024QUBIT : The 0's and 1's of Quantum computingQubit or Quantum bit is the basic unit for computation on quantum technology. In layman terms, a qubit is an atomic version of 0s and 1s, essentially a bit on steroids. Imagine a normal bit as a light switch and a qubit as a dimmer switch. Working & ...Discuss·2 likes·119 readsquantum computing
Matheesha Prathapablog.webnex.cloud·Jul 22, 2024Quantum ComputingQuantum computing is rapidly emerging as one of the most transformative technologies of our time. In simple terms, classical computers make calculations in binary (0s and 1s), whereas quantum computers use the principles of quantum mechanics to incre...DiscussFuture of Technologybinary
Filip Melkafilipmelka.hashnode.dev·Jul 4, 2024Two's Complement - Why 'Adding One'In my last article, we talked about representing signed numbers in binary. One of the most commonly used methods in computer systems is Two's Complement. To remind ourselves, here's how we store the number -6 as a Two's Complement using four bits: W...Discussbinary
Gulshan Kumarperfinsights.hashnode.dev·May 26, 2024Add 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·65 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·45 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