Home » Inerview Questions

Day 4: Create a Rectangle Object (Hackerrank problem)

Objective In this challenge, we practice creating objects. Create a object with given length, width, perimeter, area. Task Complete the function in the editor. It has two parameters:  a and b. It must return an object modeling a rectangle that…

Read More »

Find the second largest element from array in javascript (Hackerrank problem)

Function Description Complete the getSecondLargest function in the editor below. getSecondLargest has the following parameters: int nums[n]: An array of integers number. (The largest number may be dublicate) Returns The second largest number

Read More »

Javascript var, let and const with examples.

Var, let and const keywords are used to declare variables in Javascript. Var is the oldest keyword for declaring variables. And let and const are introduced in ES6. Scope:Var: function scopelet: Block scopeconst: block scope like let but…

Read More »

What is React-Native and it’s advantages.

The android and IOS developers are very excited about React-native because React-native is used to develop the hybrid application . React-Native is a JavaScript framework which is used to build mobile application for cross platform, run application in both…

Read More »