Write program to check Array is a permutation of numbers from 1 to N
Problem statement: You have an array of number like [1,3,4,6,8] we need to find that these numbers are permutation of number or not, considering all numbers in an array. example:…
Problem statement: You have an array of number like [1,3,4,6,8] we need to find that these numbers are permutation of number or not, considering all numbers in an array. example:…
What are some cloud computing advantages? There are several advantages that a cloud environment has over a physical environment. High availability: Depending on the service-level agreement (SLA) that you choose,…
In many scenarios, we want to detect the screen size or resolution in our web app. The browser provides us 'Screen' object which contains screen-related information. to access screen object…
While starting the Mongo DB server from the command line we have various options that can be used to configure the Mongo DB server as per our requirement. Here we…
String formatting or Interpolation is an essential part of any programming language. In python string formatting can be done in different ways. It helps a programmer to create dynamic strings…
Many times while working on any project we need to merge the array and we want sometimes an efficient way to merge and sometimes we want a quick and dirty…
Here are my python interview/job preparation questions and answers. Which can help to to clear the interview or also help to take interview of any candidates. What is list ?…
In several moment we need distinct object from a array of object in a JSON. Here we will see different way to get unique and distinct value from JSON. var…