This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Questions: https://docs.google.com/document/d/1R_mOM1W_v-yNxRW30Yfx_pILPjAuTUWp/edit?usp=drive_link&ouid=112036395083803415170&rtpof=true&sd=true | |
// Below Program is for Question 1- Variant 1 | |
package main | |
import ( | |
"fmt" | |
"net/http" | |
"sync" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ques 1: Create a function named `customObjFlatten` which will take an pure nested object and return single level key value pair such as | |
INPUT | |
{ | |
a: 12, | |
b: 15, | |
c: { | |
d: 31, | |
e: { | |
f:51, | |
g: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 1:- Login as super user using command | |
=> sudo su | |
Step 2:- The ROR installation begins with installing RVM on the server. It is important to install the latest version of RVM on the system, this requires an installation of the CURL command. The following command does the job. | |
=> apt-get install curl | |
Step 3:- To proceed with the RVM installation, import the rvm.io public key in the server system using this command. | |
=> curl -#LO https://rvm.io/mpapis.asc | |
=> gpg --import mpapis.asc |