Jennifer Nicholas has Published 291 Articles

C++ Program to Check for balanced paranthesis by using Stacks

Jennifer Nicholas

Jennifer Nicholas

Updated on 28-Apr-2025 18:19:10

10K+ Views

In this article, we will learn how to check for a balanced parentheses using stack data structure in C++ program. First of all let's understand what is balanced parentheses. A string of parentheses is said to be balanced parentheses, If Every opening bracket ... Read More

C++ Program to Implement Adjacency List

Jennifer Nicholas

Jennifer Nicholas

Updated on 28-Apr-2025 18:18:09

12K+ Views

An adjacency list of graph is a collection of unordered lists, that represents a finite graph data structure using linked lists. Each list in the collection represents one of the vertex of the graph and it will store the adjacent vertices of that vertex. In this article we will learn ... Read More

C++ program to Convert a Decimal Number to Binary Number using Stacks

Jennifer Nicholas

Jennifer Nicholas

Updated on 25-Apr-2025 11:53:22

4K+ Views

Decimal numbers are the set of numbers with base 10, whereas binary numbers are the numbers with base 2. In this article, we will learn how to convert a decimal number to a binary number using stack data structure in C++ program. First of all, let's understand how decimal to ... Read More

C++ Program to Check the Connectivity of Undirected Graph Using DFS

Jennifer Nicholas

Jennifer Nicholas

Updated on 15-Apr-2025 18:12:55

4K+ Views

The Depth-First Search (DFS) is a graph traversal algorithm that starts at root node and explores as far as possible along each branch before moving to next branch. In this article, we will discuss how to check the connectivity of a graph using DFS traversal algorithm. Understanding Connectivity of ... Read More

Find size of array in C/C++ without using sizeof

Jennifer Nicholas

Jennifer Nicholas

Updated on 03-Mar-2025 13:16:03

6K+ Views

In C/C++, we usually use the sizeof operator to find the size of an array. However, once an array is passed to a function, its size is lost. So, how can we find the size of an array without using sizeof? For example, consider this array: int arr[] = {1, ... Read More

Vertically align the entire grid inside the container with CSS

Jennifer Nicholas

Jennifer Nicholas

Updated on 03-Jul-2020 08:04:37

134 Views

You can try to run the following code to vertically align the grid using the align-content property −ExampleLive Demo                    .container {             display: grid;             background-color: gray;             align-content: center;             padding: 20px;             grid-gap: 20px;          }          .container > div {             background-color: orange;             border: 2px solid gray;             padding: 35px;             font-size: 30px;             text-align: center;          }                     Game Board                1          2          3          4          5          6          

Create tooltips with CSS

Jennifer Nicholas

Jennifer Nicholas

Updated on 02-Jul-2020 10:58:25

143 Views

A tooltip is visible when a user moves the mouse cursor on a text. You can add information in it to make it easy for users to understand.ExampleYou can try to run the following code to learn how to create tooltip −Live Demo           #mytooltip ... Read More

Pin diagram of 8212

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jun-2020 05:22:23

552 Views

We find 8212 available in nowadays as a package chip which is dual inline having 24 pins total. We find its functional pin diagram below.Fig: Pin diagram of 8212 functionalFig: Pin diagram of 8212Voltage of + 5 V is required for it to work based on the supply which is ... Read More

Applications of 8212 in mode 1

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jun-2020 05:17:33

215 Views

Let's discuss the Following two applicationsLow order address latchOutput port which is interrupting.Intel 8212 as low-order address latch − Here the low-order address lines and data lines are multiplexed and are available as AD7-0. It is convenient to have the address as many times and the separation of data on ... Read More

How To Change UIView's Border Color And Thickness in Cocoa Touch?

Jennifer Nicholas

Jennifer Nicholas

Updated on 30-Jun-2020 05:13:43

625 Views

In this article we'll learn how to change a View's border color and thickness.This can be done in two ways as mentioned below.Method 1 − Writing the codeLet's suppose we have a view name backView, then to add a border color and thickness we can writebackView.layer.borderWidth = 5 // Or ... Read More

1 2 3 4 5 ... 30 Next
Advertisements