JS Dom manipulation interview question

xw19 Date: 2019-04-06

I was given a task to create un ordered list and li items from an array such that when clicked on the item it will print the text value in the console. So, here is my solution. <!DOCTYPE html> <html l ... right_arrow

Ugly numbers implementation in Ruby

xw19 Date: 2019-01-27

Ugly numbers are natural numbers whose prime factors consists of 2,3 and 5 only. Here is my implemetation using Dynamic programming. def MIN(a, b, c)   min = c   if (a < b && a < c)     min = a ... right_arrow

Duplicate Rows in SQL and PostgreSQL

xw19 Date: 2019-01-25

We will use PostgreSQL 10 for this experiment. We will create a table with no indexes. CREATE TABLE account(  username VARCHAR (50) NOT NULL,  password VARCHAR (50) NOT NULL,  email VARCHAR (355) N ... right_arrow

Installing nodejs 10.x LTS on Fedora 29

xw19 Date: 2018-12-06

Installing from node source sudo yum install -y gcc-c++ make sudo su curl -sL | bash - exit sudo yum install -y nodejs sudo su curl -sL ... right_arrow

Installing PostGreSQL 11 on Fedora 29

xw19 Date: 2018-12-06

The following commands on the terminal will install PostGreSQL 11 from PGDG repo   sudo yum install ... right_arrow

Linked List data structure

xw19 Date: 2018-11-18

Linked list data structure in which we store data one after another in linear fashion. Linked list is like railway train in which we have engine and other railway coaches which are one after another, ... right_arrow

Model View Controller

xw19 Date: 2018-11-18

MVC stands for Model View Controller. It is a design pattern and/or methodology used for developing software that requires user interaction it can be desktop software or Web application. MVC has three ... right_arrow

Setting up basic minio on Fedora 28

xw19 Date: 2018-11-07

Minio is Amazon S3 inspired Object storage that you can deploy to our private infrastructure. Note: This tutorial doesn’t work well with SELinux so we need to turn it off till I find a good solution ... right_arrow

ACID Property in databases

xw19 Date: 2018-11-07

ACID stands for Atomicity, Consistency, Isolation and Durability. It is a set of properties that guarantee validity of data in Database systems. In order to understand ACID we need to understand anot ... right_arrow