- Trending Categories
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 34472 Articles for Programming
![Priya Mishra](https://www.tutorialspoint.com/assets/profiles/661458/profile/60_2023165-1685510322.jpg)
382 Views
The Python AppJar module simplifies GUI development, which is necessary for designing user-friendly software interfaces. AppJar is one of many tools and frameworks available in Python for creating graphical user interfaces. It simplifies the process of developing GUI apps by providing a user-friendly interface. AppJar comes with a variety of pre-built widgets such as buttons, labels, text boxes, and dropdown menus. This article digs into AppJar's capabilities and features, providing examples and insights. What is an AppJar Module? The AppJar module is a refined and user-friendly toolkit that makes designing Graphical User Interfaces (GUIs) in Python easier. ... Read More
![Prabhdeep Singh](https://www.tutorialspoint.com/assets/profiles/546958/profile/60_1428686-1667456005.jpg)
142 Views
The characters used in an arrangement of numeric notation based on the pre-Roman Roman system are known as Roman numerals. All major symbols are covered in the section below. In this problem, we are given a string of Roman numerals and our task is to convert Roman numerals to decimals in the range of 1 to 3999 Here are some examples and explanations to help you better understand the problem. Input str = "DCCCLXXIV" Output str = 874 Explanation DCCC is the Roman representation of 800 as D represents 500 and C represents 100 LXX is the Roman representation of ... Read More
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
1K+ Views
Introduction Nginx and Nodejs are two powerful tools that web developers use to build modern web applications. Nginx is a high-performance, open-source web server that can also function as a reverse proxy, caching server, load balancer, and more. Nodejs is a JavaScript runtime built on the Chrome V8 engine that allows developers to create fast and scalable network applications. The First Step: Installing and Configuring Nginx A Step-By-Step Guide to Installing Nginx on the Server Before you can configure Nginx as a reverse proxy for your Nodejs app, you need to install it. The installation process varies depending on your ... Read More
![Prabhdeep Singh](https://www.tutorialspoint.com/assets/profiles/546958/profile/60_1428686-1667456005.jpg)
246 Views
We are given a string that may represent a number and if it is a valid number then we have to convert it into an integer using the Python programming language. atoi() function is used in C programming language and used to convert the string which is passed as the parameter to it into an integer value if the string is a valid integer otherwise it shows the undefined behavior. Sample Examples Input 1 string S = "9834" Output 9834 Explanation We are given a string that represents a number so we have just got the same output. ... Read More
![Satish Kumar](https://www.tutorialspoint.com/assets/profiles/562858/profile/60_1148539-1669800354.jpeg)
895 Views
Introduction PhpMyAdmin is a popular open-source tool used to manage MySQL databases. It provides a web interface that allows users to interact with the database through their web browser. One of the default login options for PhpMyAdmin is root login access, which grants a user full administrative privileges over the entire database system. While root login access may be convenient for initial setup and configuration, it poses significant security risks. If an attacker gains access to your root credentials, they can cause irreparable damage to your database or steal sensitive information. Explanation of Root Login Access The root user account ... Read More
![Prabhdeep Singh](https://www.tutorialspoint.com/assets/profiles/546958/profile/60_1428686-1667456005.jpg)
280 Views
A palindrome is a string that is just equal to the reverse of it. We are given a string and we have to find the minimum number of insertions of any characters required to make the given string as the palindrome. We will see the three approaches: first recursive approach, then we will memorize this solution, and last, we will implement the dynamic programming approach. Recursive ApproachExample #include // library for input and output #include // library to get the integer limits #include // library for strings // function to find the minimum of ... Read More
![Prabhdeep Singh](https://www.tutorialspoint.com/assets/profiles/546958/profile/60_1428686-1667456005.jpg)
907 Views
In Java, substrings are part of the string which contains the continuous character of the string of any length from 1 to complete string. We are given a string and we have to find the length of the largest substring from the given string that only contains the unique characters. We will see three types of methods: finding every substring, sliding windows, and two-pointers. Problem Statement Given a string, write a Java program to find length of the longest substring without repeating characters − Input thisisthegivenstring Output The length of the longest substring that contains only unique characters is: ... Read More
![Prabhdeep Singh](https://www.tutorialspoint.com/assets/profiles/546958/profile/60_1428686-1667456005.jpg)
433 Views
atoi() function is used in C programming language and used to convert the string which is passed as the parameter to it into an integer value if the string is a valid integer otherwise it shows the undefined behavior. We will implement the atoi() function in the Java programming language. Input string str = "123" Output 123 Explanation We are given a string that represents a number so we have just got the same output. Input string str = "897c7" Output Invalid Input Explanation The given string is not a valid integer, so we have given the ... Read More
![Prabhdeep Singh](https://www.tutorialspoint.com/assets/profiles/546958/profile/60_1428686-1667456005.jpg)
337 Views
We are given a set of strings and we have to find the common prefix among all of them. Prefix is a substring for a string that contains the zero index and could be of any length from 1 to a complete string. We will implement a Java program with an explanation and a discussion of the time and space complexity. Input string arr[] = {"abcdefgh", "abcdefij", "abcdzy", "abcdabacd"}; Output abcd Explanation From all the given strings, we have the first four characters the same and the remaining characters are not same for all of them. Input string arr[] ... Read More
![Prabhdeep Singh](https://www.tutorialspoint.com/assets/profiles/546958/profile/60_1428686-1667456005.jpg)
149 Views
Prefixes are the substrings that start from the zeroth index and could be of any size from 1 to the length of the given string. We are given two binary string which means both strings contain only two different types of characters and we have to make the first string equal to the second one by flipping the prefix a minimum number of times. Also, it is given that the length of both of the given strings is equal. Input 1 string str1 = "01100" string str2 = "10101" Output 3 Explanation Only operation that we can perform ... Read More