interview questions

by Aakash Khapare M

JavaScript

let arr = [1, 2, 3, 4, 5, 6, 8, 9, 10, 11];

var a = [
	[0, 1, 1, 2, 3, 5, 8, 13],
  [2, 3, 5, 8, 13, 21, 34, 55],
  [5, 8, 13, 21, 34, 55, 89, 144],
  [1, 2, 3, 5, 8, 13, 21, 34]
];

var users = [
{
id: 1,
email: "[email protected]",
first_name: "George",
last_name: "Bluth",
avatar: "https://reqres.in/img/faces/1-image.jpg"
},
{
id: 2,
email: "[email protected]",
first_name: "Janet",
last_name: "Weaver",
avatar: "https://reqres.in/img/faces/2-image.jpg"
},
{
id: 3,
email: "[email protected]",
first_name: "Emma",
last_name: "Wong",
avatar: "https://reqres.in/img/faces/3-image.jpg"
},
{
id: 4,
email: "[email protected]",
first_name: "Eve",
last_name: "Holt",
avatar: "https://reqres.in/img/faces/4-image.jpg"
},
{
id: 5,
email: "[email protected]",
first_name: "Charles",
last_name: "Morris",
avatar: "https://reqres.in/img/faces/5-image.jpg"
},
{
id: 6,
email: "[email protected]",
first_name: "Tracey",
last_name: "Ramos",
avatar: "https://reqres.in/img/faces/6-image.jpg"
},
{
id: 7,
email: "[email protected]",
first_name: "Michael",
last_name: "Lawson",
avatar: "https://reqres.in/img/faces/7-image.jpg"
},
{
id: 8,
email: "[email protected]",
first_name: "Lindsay",
last_name: "Ferguson",
avatar: "https://reqres.in/img/faces/8-image.jpg"
},
{
id: 9,
email: "[email protected]",
first_name: "Tobias",
last_name: "Funke",
avatar: "https://reqres.in/img/faces/9-image.jpg"
},
{
id: 10,
email: "[email protected]",
first_name: "Byron",
last_name: "Fields",
avatar: "https://reqres.in/img/faces/10-image.jpg"
},
{
id: 11,
email: "[email protected]",
first_name: "George",
last_name: "Edwards",
avatar: "https://reqres.in/img/faces/11-image.jpg"
},
{
id: 12,
email: "[email protected]",
first_name: "Rachel",
last_name: "Howell",
}
]