Skip to content

Instantly share code, notes, and snippets.

View nasirovsh's full-sized avatar
:octocat:
Building...

Nasirov Shavkat nasirovsh

:octocat:
Building...
  • QuantPi
  • Uzbekistan
  • 11:52 (UTC +05:00)
  • LinkedIn in/shavkatn
View GitHub Profile
@nasirovsh
nasirovsh / miso_solutions_2_fixed.py
Last active October 4, 2020 15:39
fixed issues in solution to problem 2: character index mismatch unicode text in python string vs command argument text; 'man' left-right side exception
# -*- coding: utf-8 -*-
import sys
class Solution:
'''
Test #2
'''
def read_input(self, argv):
# -*- coding: utf-8 -*-
import sys
class Solution:
'''
Test #2
'''
import sys
class Solution:
def __init__(self):
self.w2n_map = {str(n): n for n in range(10)}
def read_input(self, argv):
if len(argv) < 2:
return None, None
{"lastUpload":"2020-05-15T04:05:19.926Z","extensionVersion":"v3.4.3"}
@nasirovsh
nasirovsh / android_studio_shortcuts.md
Created March 25, 2017 04:35 — forked from stkent/android_studio_shortcuts.md
Android Studio Shortcuts (Mac)

Android Studio Shortcuts (Mac)

Notes:

  • Two of the most useful shortcuts utilize the Fn (function) keys. It is therefore recommended that you enable the "Use all F1, F2, etc. keys as standard function keys" option [System Preferences > Keyboard].
  • Be sure to enable the Mac OS X 10.5+ keymap in Android Studio [Preferences > Keymap].
  • A fairly complete shortcut list can be found here.

Useful symbols:

/* C++ program to find Inorder successor in a BST */
#include<iostream>
using namespace std;
struct Node {
int data;
struct Node *left;
struct Node *right;
};
//Function to find some data in the tree