Skip to content
View dakshdiwan's full-sized avatar

Block or report dakshdiwan

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Private-cpp Private-cpp
    1
    c++ imp notes
    2
    source to improve knowledge : tips for c++ competitive coding
    3
    1) swap in single line using bitwise xor operator  ->  (x ^= y), (y ^= x), (x ^= y);
    4
    2) binary_search( arr, arr+n,key ) of algorithm return true or false and 
    5
    int key1 = 10;
  2. Coding-skills Coding-skills
    1
    B-brute force
    2
    U-unnecessary work
    3
    D-Duplicated work
    4
    
                  
    5
    think -> optimize -> test -> implement -> debug -> done
  3. Private-Python Private-Python
    1
    Source to improve knowledge : tech with tim and tips for python
    2
    1) 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++).
    3
    2) type(x) : returns datatype of variable
    4
    3) id(x) : returns address of variable
    5
    4) by default takes input as string , need to change type