Skip to content

Instantly share code, notes, and snippets.

View asutosh97's full-sized avatar

Asutosh asutosh97

  • Postman
  • Bangalore, India
View GitHub Profile
@asutosh97
asutosh97 / HSBC.md
Last active August 13, 2018 12:36
Questions asked in HSBC placement drive coding round

1. Given an array and its length, return 1 if its possible if its possible to split the array at any index such that all the elements in the left half are strictly decreasing and all elements in right half are strictly increasing

#include <iostream>
using namespace std;

int isSplitPossible(int arr[], int len) {
	bool increased = false;
	prev = arr[0];
@asutosh97
asutosh97 / CodersBit.ipynb
Last active July 2, 2019 10:00
Solution with breakdowns for some problems of CodersBit conducted by InterviewBit.com at IIIT Bhubaneswar.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@asutosh97
asutosh97 / powerline-setup-mac.md
Last active July 30, 2017 17:03
Contains step by step procedure to setup powerline on MacOS iTerm

Installing powerline fonts

$ # clone
git clone https://github.com/powerline/fonts.git
# install
cd fonts
./install.sh
# Powerline fonts installed to /Users/asutosh97/Library/Fonts
# clean-up a bit

Keybase proof

I hereby claim:

  • I am asutosh97 on github.
  • I am asutosh97 (https://keybase.io/asutosh97) on keybase.
  • I have a public key ASAIq_QhUSOCH0XFHwDwQJBlUjyHSm_g3fqv5toH8zxehwo

To claim this, I am signing this object:

@asutosh97
asutosh97 / 1.getting_started.md
Created April 29, 2017 12:57
Introduction to NodeJS

What is NodeJS?

-> Its basically javascript that runs on the machine.Originally, javascript was designed for running in web browser.(chrome, firefox, etc).

The makers of NodeJS made the runtime of Google chrome's V8 javascript engine to run on a machine.

So, now it can actually run in a terminal in any machine, just like php, ruby on rails, etc.

So, now we basically have full access to the computer and computer resources via the program.

@asutosh97
asutosh97 / 1.getting_started.md
Created April 29, 2017 12:57
Introduction to NodeJS

What is NodeJS?

-> Its basically javascript that runs on the machine.Originally, javascript was designed for running in web browser.(chrome, firefox, etc).

The makers of NodeJS made the runtime of Google chrome's V8 javascript engine to run on a machine.

So, now it can actually run in a terminal in any machine, just like php, ruby on rails, etc.

So, now we basically have full access to the computer and computer resources via the program.