Hamming distance between two strings of equal length is the number of all the positions at which a different value exists at the corresponding position of the other string. We can understand this with an example given below − S = “ramanisgoing” T = “dishaisgoing” Here, 5 is the hamming distance between two strings S and T as raman and disha are two words that make a difference in the strings to become equal. Problem Statement However, in this problem, we need to find the hamming distance between two strings that contain binary numbers only. One string would be ... Read More
Lexicographic means the algorithm by using which we can arrange given words in alphabetical order, the same concept which is used in dictionaries. The largest possible string that we would get by merging two strings taking one-character element at a time so that the order is lexicographic can be obtained by arranging alphabets in decreasing order or descending order keeping the sequence of elements in mind. Problem Statement Now, in this problem, we need to find lexicographically the largest possible string we get by merging two given strings. To understand this problem, we should know the basic concept we use ... Read More
The arrays of strings are a 2-dimensional array that stores characters in it. In C++ language we have an inbuilt function, with syntax − Syntax swap (first_datatype, second_datatype) which is used to perform swap operations on two elements, that is, exchange the values they carry. In the following, we are also supposed to do some exchange in positions of the elements of the string to get the expected output. However, we can get our output in a much easier way. Problem Statement Now, in this problem, we are provided with two arrays of strings (meaning arrays or ... Read More
The effect on cards that will spin slightly when you move your mouse over them is known as rotating cards. Hovering over the cards will reveal any information, links, or images that are present on them. Let’s dive into the article where we are going to design a rotating card effect using HTML and CSS, in which we are going to use the HTML tag. Before we jump into the article, let’s have a quick look at the tag. HTML tag The tag is also known as the Division tag. HTML uses the tag to ... Read More
Using CSS, we can build a visually appealing HTML document. Some elements or images may have rounded borders, which is something we might want to consider while building a web page. With this, we can use the CSS border-radius property. Because the rounded borders refer to security, and dependability—all of which improve user experience—we might refer to them as "friendly rectangles" a lot. Let’s dive into the article to learn more about adding a rounded border with CSS. Before that, we will have a quick look at the CSS border-radius property. CSS border-radius property An element's outer border edges can ... Read More
HTML documents employ DOCTYPE declarations to identify the HTML version being used and to instruct web browsers to render content in a variety of ways. You must begin each HTML document you code with a declaration. just before the tag is where the doctype is declared. Let’s dive into the article to learn more about the difference between transitional and strict doctype. The two primary DOCTYPE declaration are "Transitional" and "Strict, " with each providing a different function in terms of describing how a web page should be read and produced. Before that let’s have a quick view ... Read More
What is MBBS? The full form of MBBS is Bachelor of Medicine, Bachelor of Surgery (Medicinae Baccalaureus, Baccalaureus Chirurgiae in Latin). MBBS is an undergraduate course which can be pursued by those students who have a dream of becoming an MBBS doctor. The duration of the course is five years. Candidates whose age is 17 years and who have completed their 12th grade can pursue the MBBS course. The subjects taken in the 12th grade should be Physics Chemistry, Biology(PCB). Reasons for Pursuing MBBS Course There are many reasons for pursuing the MBBS course and some of them are given ... Read More
It really doesn't make sense to have a contact form on a website without one, much like a burger without a bun. If your business is online, you must have a method for clients to get in touch with you. A "Contact Us" form is an online form that website users can use to submit messages or requests to the website's owners or operators. It provides customers with an easy way to get in touch with the company, organization, or person operating the website without requiring them to use means of contact like phone calls or emails. The data is ... Read More
The checkbox is one of the characteristics of the HTML input tag. They display as square boxes that the front-end user can dynamically check off. When we want the user to offer a variety of inputs, the HTML checkbox comes in handy. Users choose the items they wish from the entire list when presented with a checkbox enquiry by checking or ticking these text boxes. The data from the checked checkboxes is gathered and stored in the background when the form is submitted. Typically, a checkbox can be in one of three states: checked, unchecked, or indeterminate. When a user ... Read More
The HTML list of items is displayed using the tag. It has to be encapsulated by a parent element. It is used to specify list items in various lists in HTML. It is utilized in menu , directory, ordered list , and unordered lists . In ordered lists, the list elements are typically shown with an ascending counter. The list items in unordered lists are presented as bullet points. The various types of lists are − Ordered List Unordered List Definition List HTML Ordered List The numbered format of elements is displayed via the HTML ordered ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP