Posts by Siddharth Raja

Author Biographical Info: Not available

Find Minimum edges to reverse to make path from a source to a destination in C++

By Siddharth Raja

In this tutorial, we will see how to make a path from source to destination of a graph by reversing the minimum number of edges. Consider a directed graph G with source node as 0(z.... Read More

return vs exit() in main() in C++ with examples

By Siddharth Raja

In this tutorial, we will see the difference between using exit() and return inside the main() function. In C++ return is a keyword that returns the flow of execution to the callin.... Read More

Console readPassword() in Java with examples

By Siddharth Raja

In this tutorial, we will see the use of readPassword() method in Java along with examples. The readPassword() method belongs to the Console class in Java. It allows the user to ty.... Read More