Pinned Loading
-
Private-cpp
Private-cpp 1c++ imp notes
2source to improve knowledge : tips for c++ competitive coding
31) swap in single line using bitwise xor operator -> (x ^= y), (y ^= x), (x ^= y);
42) binary_search( arr, arr+n,key ) of algorithm return true or false and
5int key1 = 10;
-
Coding-skills
Coding-skills 1B-brute force
2U-unnecessary work
3D-Duplicated work
45think -> optimize -> test -> implement -> debug -> done
-
Private-Python
Private-Python 1Source to improve knowledge : tech with tim and tips for python
21) In Python, value of an integer is not restricted by the number of bits and can expand to the limit of the available memory (Sources : this and this). Thus we never need any special arrangement for storing large numbers (Imagine doing above arithmetic in C/C++).
32) type(x) : returns datatype of variable
43) id(x) : returns address of variable
54) by default takes input as string , need to change type
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.