Skip to content

Instantly share code, notes, and snippets.


Krishna Kumar Dey krishnadey30

View GitHub Profile
krishnadey30 /
Created Mar 26, 2020
This gist is for installing PostgreSQL and creating a new Role

How To Install and Use PostgreSQL on Ubuntu

Step 1 — Installing PostgreSQL

sudo apt update
sudo apt install postgresql postgresql-contrib

Step 2 — Using PostgreSQL Roles and Databases

View C++ OOPS

C++ OOPS Concepts

The main aim of OOP is to bind together the data and the functions that operate on them so that no other part of the code can access this data except that function.

Characteristics of an Object Oriented Programming language


krishnadey30 /
Last active Oct 14, 2021
Amazon Final Interview Question List
  • Two Sum (#1)
  • Median of Two Sorted Arrays * (#4)
  • Longest Palindromic Substring (#5)
  • String to Integer (atoi) (#8)
  • Integer to Roman (#12)
  • Roman to Integer (#13)
  • Valid Parentheses (#20)
  • Merge K Sorted Lists (#23)
  • Valid Sudoku (#36)
  • Combination Sum (#39)
krishnadey30 /
Last active Jun 17, 2019
This Gist holds the initial draft of Test Launcher of Unit Test Framework(Chapel) which be used with mason
  This launcher will be used to run the test files and catch the halts.
  You can specify a different directory name using the `--dir` 
  You can set whether or not to descend recursively into 
  subdirectories (defaults to true) using `--subdir`
use FileSystem;
use Spawn;
use Path;