rishiraj824 / BitManipulation-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BitManipulation-1

Problem1

Divide Two Integers(https://leetcode.com/problems/divide-two-integers/)

Problem 2

Single number (https://leetcode.com/problems/single-number/)

Problem 3

Pair of Single numbers

An array of numbers is gven to you and there exists exactly two elements which appear once and other elements appear twice you need to give the two elements that appear only once. The order in which your result appears is not important and make sure that your algorithm runs in linear time complexity and constant space complexity.

Example:

Input: [1,2,1,3,3,4,4,8,2,5] Output: [8,5]

Output: 1

Example 2:

Input: [4,1,2,1,2]

Output: 4

Problem3

Repeated DNA Sequences (https://leetcode.com/problems/repeated-dna-sequences/)

About