Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. Open brackets must be closed in the correct order. Every close bracket has a corresponding open bracket of the same type. Example 1: Input: s = "()" Output: true Example 2: Input: s = "()[]{}" Output: true Example 3: Input: s = "(]" Output: false Example 4: Input: s = "([])" Output: true Given an array of size N filled with numbers from 1 to N-1 in random order. The array has only one repetitive element. The task is to find the repetitive element. Examples: Input: a[] = {1, 3, 2, 3, 4} Output: 3 Explanation: The number 3 is the only repeating element. Input: a[] = {1, 5, 1, 2, 3, 4} Output: 1 Brute Force To Optimization
Java Development Lead Interview Questions
12,780 java development lead interview questions shared by candidates
Hasmap internal working with hascode() and equals() implementation in custom class
How do hashmap work? How do concurrenthashmap work?
What is Abstraction? And what is the difference between Abstract Class and an Interface?
abstract class, inheritance
What is the root class of java ? Tell me some of the main methods of Object class you know? What does the method NotifyAll() does ? What is the use of concurrentHashMap() in multithreading? What are different kind of Indexes in SQL? What are difference between DELETE and TRUNCATE in SQL?
Given an array of integers find a second lowest integer
Described in detail in the interview process section
Questions from multithreading
Write a function to check if the input number is a power of 10.
Viewing 4691 - 4700 interview questions