Showing posts from 2020
Jump Search

Jump Search

# include <iostream> # include <cstdlib> # include <stdio.h> # include <assert.h> # include…

How to convert String to Integer && Integer to String

String to Integer && Integer to String   (Don't use atoi() because it is for character array ;  char…

How to get GCD and LCM of two numbers

GCD and LCM Law:                 (num1 * num2) = gcd(num1,num2) * lcm(num1,num2); STL C++:          …

How to Count number of 1's in binary representation

Number Of bits in Binary form trick STL (c++):                           __builtin_popcount ( number );     //…
Competitive Programming Template

Competitive Programming Template

exit: Ctrl+↩ /**=========================================================================================== …