Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by Mohammed Shahnawaz Alam
3 articles
SQL Query to Find the Name of a Person Whose Name Starts with Specific Letter
When we work with databases, we often need to search for the name of a Person whose name starts with a specific Letter. We can also find the names of persons whose name starts with a specific letter using SQL. This is possible by using the 'LIKE' operator in SQL, it allows us to do pattern matching on a text. Prerequisites: The following are the prerequisites to understand this tutorial - Basic SQL syntax understanding. A database management tool like MySQL, Oracle SQL or SQLite. What is 'LIKE' Operator? The ...
Read MoreMaximum Subarray Sum in Java: Kadane’s Algorithm
Here, we are going to learn how to find the maximum subarray sum using Kadane's Algorithm in Java? Problem Statement Given an array with size N, write a Java program to find the maximum subarray sum using Kadane's Algorithm. Example Input: n = 5 arr[] = 1, 2, 3, -2, 5 Output: Maximum Subarray sum is: 9 What is Kadane's Algorithm Kadane's Algorithm helps us to find the Maxumum Subarray Sum in time complexity of O(n). Steps to Find Maximum Subarray Sum Using Kadane's Algorithm Initialize 2 variables named currentSum=Integer.MIN_VALUE and maxSum= ...
Read MoreHow to check the version of ReactJS?
ReactJS is a frontend library of JavaScript to build efficient Single Page Application(SPA). Each version of React comes with some improvements and added features. So, it is very important to know which version we are using. Approaches to Check React Version We can check the version of ReactJS by using the below-mentioned Approaches. Using Command Line Using ‘React.version' Property Searching in dependencies in package.json React Version Using Command Line We can use the below command to check the version of ReactJS. The below command ...
Read More