Pass by Value

Pass by Value   Technically in java, we don’t have pass by reference. All the calls made to methods passing arguments are pass by value.   Let’s understand this for 2 scenarios…

What is Method

What is Method   Method is a collection of statements which is referred by a name and can be invoked at any point of time.   Why Method is required   In…

Palindrome Permutation

Palindrome Permutation   Write a function to check if any combination of characters of the given string can be a palindrome.   e.g. Tact Coa Output : True Explanation: “atco cta” can be…

String Permutation

String Permutation   Write an algorithm to check if a string is a permutation of the given string.   Given String:  gupta   Input:  atugp   Output : true. Since input1 is…

Pass by Value

Pass by Value   Technically in java, we don’t have pass by reference. All the calls made to methods passing arguments are pass by value.   Let’s understand this for 2 scenarios…

Lorem ipsum dolor sit amet, consectetur a dipiscing elit. Vivamus leo ante,

FOLLOW US ON