![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 27104 Articles for Server Side Programming
![Mallika Gupta](https://www.tutorialspoint.com/assets/profiles/616724/profile/60_2138235-1678687177.jpg)
192 Views
Introduction A string is composed of alphanumeric characters, each of which is associated with a definite position. The positions of the characters range from 0 to the string length. The characters differing exactly in one position are said to be adjacent. In this article, we are going to develop a code that takes as input an array of strings which differ in exactly in one position. Let us look at the following example to understand the topic better − Sample Example Example 1 − str − {“abc”, “cba”, “dbc” , “acc”} Output − 2 For instance, in ... Read More
![Sakshi Koshta](https://www.tutorialspoint.com/assets/profiles/652652/profile/60_3316011-1683712915.jpeg)
229 Views
A collection of characters is represented by a string data type. It is arranged logically using letters, numbers, symbols, and empty spaces. The majority of computer languages enclose strings in single or double quotation marks to distinguish them from other data types. Programmers frequently employ strings to carry out some input and output operations, the storing, and the manipulation of textual data, and more. Concatenation (combining two or more strings), substring extraction (obtaining a segment of a string) and searching for certain characters or patterns inside a string are some frequent operations that can be carried out on strings. Methods ... Read More
![Sakshi Koshta](https://www.tutorialspoint.com/assets/profiles/652652/profile/60_3316011-1683712915.jpeg)
137 Views
One common issue encountered during string manipulation assignments involves identifying the shortest substring containing every vowel atleast once. This task finds its application amongst varied domains such as data analytics, bioinformatics and natural language processing among others.The goal here is finding out which minimum contiguous section within an existing string has each of these five letters (a, e, i, o, u) atleast once.The selection process for resolving this challenge encompasses multitude techniques like implementing sliding window algorithms or incorporating hashing procedures or utilizing regular expressions etcetera.Finding a robust resolution for this problem typically becomes crucial since numerous real-world scenarios demand ... Read More
![Sakshi Koshta](https://www.tutorialspoint.com/assets/profiles/652652/profile/60_3316011-1683712915.jpeg)
292 Views
Mastercard is a multinational financial services company that has provided payment processing services to clients globally since its establishment in 1966. Its headquarters remain based in New York, USA. It marked as one of the biggest payment systems in the world, with rivals Visa and American Express. They stand out and are well fitted for both of the consumer and business need due to the large range of goods they provide, which may involve credit cards, debit cards, and prepaid cards. Among them are prepaid cards, debit cards, and credit cards. To distribute these card options globally, it works ... Read More
![Sakshi Koshta](https://www.tutorialspoint.com/assets/profiles/652652/profile/60_3316011-1683712915.jpeg)
107 Views
A binary string is a series of 0s and 1s in computer science and mathematics. The sum of two adjacent characters is indicated by sums of subsequent pairs of characters. For example to understand the below topic, the total number or digits of the succeeding pairs in the string "11010" is 1+1=2, 1+0=1, and 0+1=1. The goal is to locate a binary string that satisfies the specified frequencies using the frequencies of these sums as a guide. Applications of this issue can be found in fields like information theory and coding theory. Methods To find a binary string with given ... Read More
![Sakshi Koshta](https://www.tutorialspoint.com/assets/profiles/652652/profile/60_3316011-1683712915.jpeg)
948 Views
Visa credit or debit cards are assigned a 16-digit unique identifier known as a Visa card number. The number—which is ordinarily stamped on the front of the card—is used to find the cardholder's account while making purchases or carrying out transactions. The first six digits of a Visa card number reflect the issuing bank in contrast to the remaining digits, which are unique to the account number and the cardholder. For the purpose of validating the number's accuracy and preventing fraud, Visa card numbers have an extra check digit. Methods The methods are as follows for validating a Visa card ... Read More
![Sakshi Koshta](https://www.tutorialspoint.com/assets/profiles/652652/profile/60_3316011-1683712915.jpeg)
725 Views
A typical programming challenge is determining whether a number terminates with another number. To solve this problem, you must identify the last few digits of a given number and check to see if they match another number. Numerous applications, including data processing, string manipulation, and numerical analysis, frequently include this kind of operation. Programming approaches including converting numbers to strings, modular arithmetic, and the use of logical operators are used to solve this challenge. Beginner and intermediate programmers who want to get better at manipulating numbers and solving algorithmic issues should be interested in this topic. Methods There are various ... Read More
![Sakshi Koshta](https://www.tutorialspoint.com/assets/profiles/652652/profile/60_3316011-1683712915.jpeg)
313 Views
"Even-odd pairs" means to pairings of two consecutive integers, one is even and the other odd. For example, even-odd pairs include (2, 3), (4, 5), (6, 7), etc. These pairings are commonly employed in number changing-based algorithms and programming exercises. When repeating over a set of numbers, like, one could only want to carry out operation on even or odd numbers. When this occurs, employing even-odd pairs can aid in code simplification by lowering the number of conditional statements required. Method By swapping nearby even-odd pairings, you can apply the following strategies to determine the least number possible − ... Read More
![Suneel Raja](https://www.tutorialspoint.com/assets/profiles/688551/profile/60_1122769-1690780837.jpg)
930 Views
Disease prediction is a crucial application of machine learning that can help improve healthcare by enabling early diagnosis and intervention. Machine learning algorithms can analyse patient data to identify patterns and predict the likelihood of a disease or condition. In this article, we will explore how disease prediction using machine learning works and some examples of its applications. Disease prediction using machine learning Disease prediction using machine learning involves the following steps − Data collection − The first step is to collect patient data, including medical history, symptoms, and diagnostic test results. This data is then compiled into a ... Read More
![Sakshi Koshta](https://www.tutorialspoint.com/assets/profiles/652652/profile/60_3316011-1683712915.jpeg)
485 Views
Determining the number of unique strings that can be obtained by performing a set of given operations on a string is a common challenge in computer science and mathematics. Several operations, including character deletion, swapping, or string reversal, can be carried out on the string. The objective is to calculate the total count of different output strings achievable through these operations irrespective of their order. The problem-solving techniques applied for this task comprise dynamic programming, recursion, and combinatorics among others—depending upon the nature of specific operations undertaken. Methods To count the distinct possible strings after performing given operations, one ... Read More