
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 33676 Articles for Programming

767 Views
In programming, system−level calls are used to interact with the operating system and perform various tasks. Two commonly used system−level calls are system() and execl(). While both these calls allow executing external programs, they differ in their functionality and usage. What is system() Call? The system() call is a higher−level function that allows the execution of shell commands or scripts. When system() is invoked with a command as its argument, it starts a new shell process, which then interprets and executes the specified command. The system() call provides a simple way to interact with the command line and execute external ... Read More
472 Views
Divisor of a number is which divides it exactly without any remainders. In other words, a divisor of a number n is the one which results in n when multiplied by any other integer. It can also be called as a factor of a number. Dividend ÷ Divisor = Quotient. For example, if we divide 60 with 5 we will get 12 and vice versa therefore, 12 and 60 can be considered as divisors of 60. Number of Divisors of Product of N Numbers Given task is to find the number of divisors of the product of the given ... Read More
382 Views
Finding the number of divisors of a given number N which is also divisible by K (any constant number) is a typical mathematical problem which requires lot of calculations. Here, K is usually a number which is less than or equal to square root of N. However, we can construct a C++ program by which counting such numbers will be an easier task. In this article, we will discuss different methods in C++ using which we can find solution to the above given problem. Input Output Scenarios If we consider the below scenario here we have N value as ... Read More

807 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

243 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

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

530 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

2K+ 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

419 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

2K+ 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