Using Stack To Remove Trailing Zeros From The Sum Of Two Numbers

In this post, We are going to discuss the program, Given two numbers A and B, the challenge is to use a stack to eliminate the trailing zeros from the sum of the two numbers. Example: Approach: The string and…

How to pass a 2D array as a parameter In C?

In this below code structure you will understand while passing 2d array as parameter in C programming. Before passing we must typecast the 2D array while passing the function. Here below implementation of 2D Array: Output: What is going on…

Find Minimum Element Of Each Row And Each Column In A Matrix

Suppose there is a matrix, and the task is find out minimum element of each row and each column in a matrix. Take an Example: How to solve this problem? The idea is to run the loops on basis of…

Find The Maximum Element Of Each Row In A Matrix

In this problem here I am going to solve maximum element of each row in a matrix. Suppose there is a matrix, and find out maximum element in each row. Examples: Then Approach: Here approach is very simple. The idea…

What is the Merge Sort algorithm in data structure?

Merge sort works like quick sort with Divide and Conquer algorithm. It generally divides the input array into two halves, then call itself for two halves, and then merges the two sorted halves.  The merge() function is used for merging two…

CSS Underline or Overlay Animations with ultimate CSS Collection.

Here I am going to discuss how differently design CSS navbar animations with CSS Underline or Overlay effect. Here we are using simple CSS code to affect navbar elements. No SVG,  No JS, No extra tag, No pseudo-element, No keyframes…

How to configure TOASTUI tui.editor Extensible WYSIWYG Markdown editor in JQuery

In this article we are going to discuss how to configure an Extensible WYSIWYG markdown editor or tui.editor is a powerful editor, extensible, full-featured, multi-language WYSIWYG Markdown Editor which can be implemented in either JavaScript or jQuery. More features: CommonMark and GitHub…

Character Count With Whitespace Using Jquery Form Plugin – Character Counter

Today I am going to discuss with you how to calculate a number of characters with white spaces using the JQuery script. It is easy to use and developer-friendly character counter plugin that helps you instantly count a number of…

Write A Program convert a number to another by dividing its factor or removing the first occurrence of a digit from an array

Suppose two positive natural numbers A, B, and an array D[] consisting only of digits [0-9]. Convert a number to another by dividing its factors the main task is to check if it is possible to reduce A to B by repeatedly dividing by any of its factors which are…