Skip to content

Instantly share code, notes, and snippets.

View krishnadey30's full-sized avatar

Krishna Kumar Dey krishnadey30

View GitHub Profile

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 January 21, 2024 09:40
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)

Command

  • apropos

    apropos "remove files"
global:
image:
tag: 8.0.4
identity:
auth:
publicIssuerUrl: "http://camundakeycloak.<domain>/auth/realms/camunda-platform"
operate:
redirectUrl: "http://operate.<domain>"
optimize:
redirectUrl: "http://optimize.<domain>"
@krishnadey30
krishnadey30 / GSoC_2019UnitTestFramework.md
Last active January 6, 2022 05:59
GSoC 2019 Unit Test Framework

Inheritance in Java:

Inheritance in Java is a mechanism in which one object acquires all the properties and behaviors of a parent object. When you inherit from an existing class, you can reuse methods and fields of the parent class. Moreover, you can add new methods and fields in your current class also.

Why use inheritance in java

  • For Method Overriding (so runtime polymorphism can be achieved).
  • For Code Reusability.

The syntax of Java Inheritance

@krishnadey30
krishnadey30 / Postgres.md
Created March 26, 2020 12:16
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