![]() How to delete a node from Binary Search Tree (BST)?.How to check the given Binary Tree is Binary Search Tree (BST) or not?.Implement Binary Search Tree (BST) post-order traversal (depth first).Implement Binary Search Tree (BST) in-order traversal (depth first).Implement Binary Search Tree (BST) pre-order traversal (depth first).Implement Binary Search Tree (BST) Level order traversal (breadth first).Find height of a Binary Search Tree (BST).Find min and max value from Binary Search Tree (BST).Write a program to print all permutations of a given string.How to sort a Stack using a temporary Stack?.Write a program to remove duplicates from sorted array.Find longest substring without repeating characters.Write a program to find the sum of the first 1000 prime numbers.Write a program to find two lines with max characters in descending order.Write a program to convert string to number without using Integer.parseInt() method.Write a program to get a line with max word count from the given file.Write a program to get distinct word list from the given file.How to get distinct elements from an array by avoiding duplicate elements?.Write a program to implement hashcode and equals.Write a program for Insertion Sort in java.Write a program for Bubble Sort in java.Write a program to check the given number is binary number or not?.Write a program to convert binary to decimal number.Write a program to find the given number is Armstrong number or not?.Write a program to check the given number is a prime number or not?.Write a program to find sum of each digit in the given number using recursion.Write a program to print fibonacci series.How to swap two numbers without using temporary variable?.Write a program to find common elements between two arrays.Write a program to sort a map by value.Write a program to find top two maximum numbers in a array.Wrie a program to find out duplicate characters in a string. ![]() ![]() Write a program to find maximum repeated words from a file.Write a program to implement ArrayList.Write a program to find perfect number or not.Write a program to convert decimal number to binary format.Write a program to reverse a string using recursive algorithm.Write a program to create deadlock between two threads.Find out middle index where sum of both ends are equal.Find out duplicate number between 1 to N numbers.Check if given Linked List is a Circular Linked List or not.Detect and remove loop in a LinkedList.Find Nth node from the end of Linked List.Remove duplicates from sorted linked list.Identify given LinkedList is a palindrom or not using Stack.Identify middle element of a Linked List.Program: HackerRank stack problem - Balanced Brackets.Ī bracket is considered to be any one of the following characters: (, ), ’ or ‘]’) then pop character from stack and if the popped character is the matching opening bracket then fine else parenthesis are not balanced.ģ) After complete traversal, if there the stack is not empty, then the expression is not balanced.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |