Skip to content

Add Sum of Two Integers using Bit Manipulation #9329

@crocmons

Description

@crocmons

Feature description

I want to add a new DSA Problem Solution, which is a sum of two integers using Bit manipulation..

Problem -
Given two integers a and b, return the sum of the two integers without using the operators + and -.

Example 1:
Input: a = 1, b = 2
Output: 3

Example 2:
Input: a = 2, b = 3
Output: 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis PR modified some existing files

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions