Sorting Array Except Elements in a Subarray

Vaishnavi Tripathi
Updated on 11-Apr-2023 17:00:26

487 Views

This article is about how we can sort an array by neglecting a subarray of elements present in the same array. We will discuss two approaches for the same. The first approach is a brute force approach with time complexity O(n*n) while the second approach is by using an additional space to keep the sorted part of array other than the subarray. The time complexity of second approach is better i.e., O(nlogn). Problem Statement We are given an array of positive integers “nums” and two indices of the same array namely- left and right and we have to partially sort ... Read More

Undulating Numbers

Vaishnavi Tripathi
Updated on 11-Apr-2023 16:59:26

287 Views

In this article, we will learn what an undulating number is and our approaches to check whether a given number is undulating or not using a boolean function to check undulating numbers. Problem statement We will be given a number and our task is to check whether the given number is undulating. Let us first learn about an undulating number; An undulating number is a number that only consists of two types of digits and every second digit is the same. We can say an undulating number is of the form “PQPQPQ” where P and Q are two different digits ... Read More

Association Mapping or Linkage Disequilibrium Mapping of QTL

Anusha Karthik
Updated on 11-Apr-2023 16:57:57

249 Views

Introduction Genetic mapping is a crucial tool in the study of inheritance and evolution. It allows us to locate the genes that underlie traits of interest, such as disease susceptibility, crop yield, or even behavior. Two main types of genetic mapping are used in modern research − Association mapping. Linkage mapping. The article below focuses on association mapping and linkage disequilibrium (LD) mapping of quantitative trait loci (QTL). We will explain the basic principles behind these methods, their advantages and limitations, and how they are used in research today. Association Mapping Association mapping, also known as genome-wide association ... Read More

Smallest Triangular Number Larger Than P

Vaishnavi Tripathi
Updated on 11-Apr-2023 16:20:27

362 Views

We will discuss triangular numbers and how we can find the smallest triangular number just larger than a given number “num”. We will first discuss what exactly is a triangular number and then will find out the smallest triangular number just larger than “num” We will see two different approaches for the same. In the first approach, we will run a simple loop to generate the output, while in our second approach, we will first generate a general formula for calculating the desired number and then will directly apply that formula to get the smallest triangular number. Problem Statement We ... Read More

Maximum and Minimum Value for z-index Property in CSS

Shubham Vora
Updated on 11-Apr-2023 16:20:13

2K+ Views

In CSS, the z-index property is used to put one element on another. For example, we can create a stack of multiple HTML elements using CSS. If you have ever used the z-index property, you must have seen its value like 9, 99, 999, 0, -9, -99999, etc. Have you ever asked yourself what could be the maximum value of the z-index, and have you researched about that on the internet? If not, go through this guide. The maximum value of the z-index property is equal to 2147483647, and the minimum value is -2147483647. The number 2147483647 equals 232, the ... Read More

Pandigital Product

Vaishnavi Tripathi
Updated on 11-Apr-2023 16:19:20

350 Views

We are given two numbers and our task is to find out whether the given number is obtained by multiplying two other numbers such that all three numbers together constitute a 9-digit pandigital number. In other words, it can be said that we have to find out whether the given number is pandigital after combining it with two other numbers which result in the original number on multiplication. We can have many such cases where we will get multiple solutions for this problem, to get the best time complexity, we will simply print the first ever solution found and stop ... Read More

Create Nested Tables within Tables in HTML

Aayush Mohan Sinha
Updated on 11-Apr-2023 16:13:05

2K+ Views

Tables are a fundamental and critical aspect of web development and are used to present information in an ordered and legible format. However, some situations may necessitate presenting more intricate data that necessitates the use of nested tables. Nested tables are tables that are located within other table cells. In this article, we will direct you through the process of building nested tables in HTML, with a meticulous and detailed explanation accompanied by illustrations to help you comprehend the concept more effectively. Whether you're a neophyte or an experienced web designer, this article will furnish you with the knowledge and ... Read More

Create Nested Accordion Using Google AMP

Aayush Mohan Sinha
Updated on 11-Apr-2023 16:12:26

488 Views

Nested accordion menus are an effective way to organize and present large amounts of information in a compact and intuitive manner. With the growing importance of mobile devices in accessing the internet, it has become increasingly important to optimize web pages for faster loading and improved user experience. This is where the Google Accelerated Mobile Pages (AMP) project comes into play, offering a streamlined and fast-loading way of creating web pages for mobile devices. In this article, we will explore how to create nested accordion menus using Google AMP’s amp-accordion component, providing a clear and organized way to present complex ... Read More

Create Navigation Links Using HTML5

Aayush Mohan Sinha
Updated on 11-Apr-2023 16:11:28

948 Views

Generating navigation links is a pivotal element of developing websites as it enables users to easily peruse and locate the information they require. In this exposition, we will expound on the procedure of creating navigation links utilizing HTML5, the most recent iteration of the Hypertext Markup Language. HTML5 provides semantic attributes and elements that facilitate the arrangement and exhibition of content on the internet. With the guidance of this piece of writing, you will acquire the knowledge of utilizing HTML5 to establish a navigation menu that is coherent, structured, and easy to use. Syntax ... Read More

Allele Mining by Tilling and Eco-Tilling

Anusha Karthik
Updated on 11-Apr-2023 16:10:51

487 Views

Introduction Allele mining has emerged as a powerful approach to identify novel genetic variations that can be used to improve crop traits. TILLING (Targeting Induced Local Lesions IN Genomes) and Eco-TILLING (Ecotype Targeting Induced Local Lesions IN Genomes) are two widely used methods for allele mining in plants. These techniques rely on the use of mutagenic agents to introduce random mutations into the plant genome, followed by screening for mutations in target genes of interest. In this article, we will provide a detailed overview of TILLING and Eco-TILLING and their applications in allele mining. TILLING TILLING was first developed ... Read More

Advertisements