Skip to content

Instantly share code, notes, and snippets.

Avatar

Krishna Kumar Dey krishnadey30

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

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 Notes.md

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

img

@krishnadey30
krishnadey30 / amazonFinal.md
Last active Oct 14, 2021
Amazon Final Interview Question List
View amazonFinal.md
  • 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
krishnadey30 / launcher.md
Last active Jun 17, 2019
This Gist holds the initial draft of Test Launcher of Unit Test Framework(Chapel) which be used with mason
View launcher.md
/*
  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;