Coding

Basic Concept

Decimal to Binary Convert  *

Note: This problem gives binary in reverse manner;

example: 6(110)=>011

 

binary to decimal

Extract Digits from A Given Integer

Note: Output will in reverse order

Output:- 7 4 6 5

 

 

Reverse a String by recursion
Occurrence count of each character in a given String
Sum of Prime number from 1 to 10000.
Count the number of duplicate words/letters in A String.
 lcm/gcf

Easy but tricky

Find a number whether it’s even or odd without using any condition ?
Using Modulus

Using Bitwise operator

You may know that for every even number(in Binary) last bit is 0

so if you AND it with 001

if even it will give 0, otherwise 1