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
Articles on Trending Technologies
Technical articles with clear explanations and examples
Minimum Characters to be Replaced to make a String Concatenation of a K-length Palindromic String
Tracking down the most modest number of characters that should be changed to transform a given string into a link of K-length palindromic substrings is a common issue in the field of string control. A string that peruses similar advances and in reverse is known as a palindromic string. Examples are "radar" or "level." The fundamental ideas, methods, and potential optimization strategies that can be used to effectively address this issue will all be covered in this article. By the conclusion, readers will be able to handle similar string manipulation issues since they will have a comprehensive understanding of the ...
Read MoreMinimize Count of Unequal Elements at Corresponding Indices between given Arrays
Compare the elements at each index and adjust them until they match to reduce the number of inconsistent elements at corresponding indices between the given arrays. Adjust as necessary while simultaneously iterating through the arrays. The arrays will become more similar and the proportion of unequal elements will decrease as a result. By reducing their differences at corresponding positions, this process seeks to increase the similarity between the arrays. The ultimate objective is to produce arrays with the same elements at every index, which will decrease the number of unequal elements. Methods Used Hashing Approach ...
Read MoreMaximize Count of Nodes Disconnected from all Other Nodes in a Graph
We must locate and isolate the nodes with the fewest connections in order to maximise the number of nodes in a graph that are disconnected from all other nodes. The tactic entails eliminating nodes with the lowest degree (fewest connections) repeatedly until no more of these nodes are found. The most extreme number of nodes that are separated from each other is delivered as a result of doing this, which continuously isolates different components within the graph. This strategy expands the number of nodes within the graph that have no associations with any other nodes by guaranteeing that the remaining ...
Read MoreCreate a Cycle Graph using Networkx in Python
A cycle graph is a special kind of graph in which each node has precisely two neighbours and is connected to the others in a complete loop. Cycle graphs may be made quickly and easily with Python's Networkx module. A cycle graph is produced by using the 'networkx.cycle_graph()' function and the number of nodes. This diagram is frequently employed in a variety of applications, including the modelling of periodic phenomena, the representation of circular structures, and the analysis of cyclic processes. It is useful in graph theory and many real-world contexts due to its ease of use and capacity to ...
Read MoreGolang program to return the nth number in fibonacci sequence using dynamic programming
In this article, we will write Go language programs to return the nth number in Fibonacci sequence using dynamic programming. It is a technique used to solve complex problems by breaking them into smaller sub problems. Memoization is the process of storing the output of the function calls in some data structure by which the next time call is made it need not calculate the output again, it can use that value to make the computation which in return lessens the execution time. Syntax func make ([] type, size, capacity) The make function in go language is used to ...
Read MoreCount Permutations of all Integers upto N that can form an Acyclic Graph based on given Conditions
Counting stages of whole numbers up to N framing non-cyclic diagrams requires investigating every single imaginable change and checking assuming they make non-cyclic charts in view of given conditions. The circumstances are probable connected with a coordinated chart structure shaped from the changes, where the shortfall of cycles suggests acyclicity. This issue includes chart hypothesis ideas and can be moved toward through Profundity First Inquiry or Dynamic Programming. While DFS investigates every stage recursively, DP improves the cycle by putting away middle outcomes. The last count of substantial stages demonstrates the number of ways the whole numbers up to N ...
Read MoreHow to lookup to return an active hyperlink in excel?
In Excel, performing a lookup to return an active hyperlink can be a useful technique when you want to dynamically generate clickable links based on specific values. Although Excel does not have a direct function for this purpose, you can combine the VLOOKUP or INDEX function with the HYPERLINK function to achieve the desired result. This combination allows you to search for a value, retrieve a corresponding URL or address, and create an active hyperlink that can be clicked to navigate to the associated location. In this article will consider one simple example to learn the process of obtaining ...
Read MoreHow to lock cell width and height from resizing in excel?
In this article, users get information on how to lock cell the width and height from resizing in Excel. The purpose of this article is to ensure that the layout and formatting of the cells remain consistent and fixed, even if the spreadsheet is manipulated by others. Some other benefits of locking and protecting cells included maintaining data integrity, preserving formulas, making collaboration easy, enhancing data security, and providing template protection. After the successful completion of this task, the user will not be able to resize the height and width of the cell. Example 1: To Lock cell width ...
Read MoreHow to look up a value and return the cell above or below in excel?
In this article, the user will take deep practical knowledge of how to look for a value and return the cell above or below in Excel. This article will briefly two examples. The first example demonstrates the process of generating the above cell value in Excel by using the user-defined formula, while the second example demonstrates the process of generating the below cell value in an Excel sheet. Consider the below provided detailed stepwise explanation, to understand the process briefly. Example 1: To look up for a value in excel sheet, and returning the cell value above to the ...
Read MoreHow to make a cumulative sum chart in excel?
A cumulative sum chart, also known as a cumulative line chart or cumulative frequency chart, is a graphical representation that shows the cumulative sum or total of a series of values over time or another dimension. It is commonly used to analyze and visualize the accumulation or progression of data. The cumulative sum chart plots the cumulative values on the y-axis and the corresponding time or another variable on the x-axis. Each data point on the chart represents the sum of all previous values up to a certain point, starting from an initial value. As new data points are added, ...
Read More