Ayush Singh has Published 179 Articles

Setting up a Caching DNS Server in Ubuntu Server 14.04

Ayush Singh

Ayush Singh

Updated on 03-Aug-2023 13:16:43

331 Views

The following actions must be taken in Ubuntu Server 14.04 in order to configure a caching DNS server. Start by running the relevant command the package management provides to install the DNS server software. After installation, modify the configuration file to set up the DNS server. For optimum performance, define ... Read More

Arrange the Array such that upon Performing given Operations an Increasing order is Obtained

Ayush Singh

Ayush Singh

Updated on 02-Aug-2023 16:07:44

77 Views

You must use the proper sorting algorithms in order to organise an array in increasing order using the specified operations. Determine the most effective method first depending on the array size and data properties. Bubble Sort, Merge Sort, and Quick Sort are examples of popular sorting algorithms. Apply the chosen ... Read More

Count of Nodes with Maximum Connection in an Undirected Graph

Ayush Singh

Ayush Singh

Updated on 02-Aug-2023 16:05:19

219 Views

In the field of network analysis, the number of nodes with the highest degree, signifying the greatest number of connections to other nodes in the network, is referred to as the "count of nodes with maximum connection" in an undirected graph. The number of edges that incident upon a node ... Read More

Finding if a Node X is Present in Subtree of Another Node Y or Vice Versa for Q Queries

Ayush Singh

Ayush Singh

Updated on 02-Aug-2023 16:03:36

60 Views

For Q queries, do the following to see if node X is in node Y's subtree or vice versa: Starting at node Y, navigate its subtree while keeping an eye out for node X. If discovered, X is in Y's subtree. Start at node X and navigate its subtree to ... Read More

Count of Connected Components in given Graph after Removal of given Q Vertices

Ayush Singh

Ayush Singh

Updated on 02-Aug-2023 15:56:20

265 Views

The number of disconnected subgraphs created by the remaining vertices in a graph following the removal of Q specified vertices is represented by the count of connected components. There are no edges linking the various components; instead, each connected component is made up of a collection of vertices connected by ... Read More

Find Edges Removing which does not Disconnect the Graph

Ayush Singh

Ayush Singh

Updated on 02-Aug-2023 15:54:42

109 Views

Analyse the connectedness of each edge in the Graph to locate edges whose removal won't break the Graph. We can identify which edges are essential for preserving connectivity between nodes by methodically examining the effect of eliminating individual edges. "Bridge edges" or "critical edges" are edges that, when eliminated, nonetheless ... Read More

Minimum Cost to Convert 1 to N by Multiplying X or Right Rotation of Digits

Ayush Singh

Ayush Singh

Updated on 02-Aug-2023 15:52:57

49 Views

We can use the following technique to find the cheapest way to multiply X or right−rotate its digits from 1 to N. To monitor the initial lowest cost, create a cost variable. Check to see if N is evenly divided by X at each stage as you progress from N ... Read More

Generate Lexicographically Smallest Permutation of 1 to N where Elements follow given Relation

Ayush Singh

Ayush Singh

Updated on 02-Aug-2023 15:51:08

225 Views

In this topic, we seek the relationally constrained lexicographically minimal permutation of numbers from 1 to N. The relation describes the relative order of certain of the permutation's components. We ensure that the resulting permutation is the least possible when comparing lexicographically by carefully organising the numbers based on this ... Read More

Applications, Advantages and Disadvantages of Directed Graph

Ayush Singh

Ayush Singh

Updated on 02-Aug-2023 15:49:33

534 Views

Diverse domains, including CS, social networks, and logistics, use directed graphs, also known as digraphs. Arrows indicating the direction of links serve to depict the interconnections between the various components. They have the ability to represent intricate connections, handle data quickly, and facilitate pathfinding algorithms. Their drawbacks, however, include the ... Read More

Applications, Advantages and Disadvantages of Graph

Ayush Singh

Ayush Singh

Updated on 02-Aug-2023 15:48:03

3K+ Views

Graphs are used in different disciplines. They are utilised in biology to represent gene interactions, in transportation for route optimisation, and in social networks for user connection analysis. The visual representation of intricate relationships and the capacity to see patterns and trends are two benefits of graphs. However, dealing with ... Read More

Previous 1 ... 6 7 8 9 10 ... 18 Next
Advertisements