i
Filter interviews by
Basic coding questions asked on syntax of java
HashMap and Hashtable are both data structures used to store key-value pairs, but they differ in their implementation and features.
HashMap allows null keys and values, while Hashtable does not.
HashMap is not synchronized, while Hashtable is.
HashMap is generally faster than Hashtable, but not thread-safe.
Hashtable is thread-safe, but slower than HashMap.
HashMap is part of the Java Collections Framework, while Hashtable ...
Top trending discussions
posted on 27 Mar 2022
A Java program that demonstrates the use of HashMap and Java 8 features to manipulate strings.
Use HashMap to count occurrences of each character in a string. Example: 'hello' -> {h=1, e=1, l=2, o=1}.
Utilize Java 8 Streams to filter and collect data. Example: filtering characters that appear more than once.
Implement lambda expressions for concise code. Example: map.put(c, map.getOrDefault(c, 0) + 1) for counting.
Use ...
posted on 30 Aug 2016
I applied via Campus Placement
I applied via Referral and was interviewed before Aug 2022. There were 3 interview rounds.
Time ,speed ,distance
Java application using oops concept
1 hour interview. Needed to solve parts of single question. Next part would open only after completing the current part
I applied via Referral and was interviewed before Sep 2022. There were 4 interview rounds.
I applied via AmbitionBox and was interviewed in Mar 2024. There was 1 interview round.
I applied via Approached by Company and was interviewed before Sep 2023. There was 1 interview round.
I appeared for an interview in Apr 2021.
Round duration - 90 minutes
Round difficulty - Medium
Timing was 9 PM. Platform was not good. Platform was very lagging so overall it was bad experience.
Given an array 'ARR' of 'N' distinct integers, determine the third largest element in the array.
The first line contains a single integer 'T' representing the numb...
Find the third largest element in an array of distinct integers.
Sort the array in descending order and return the element at index 2.
Handle cases where the array has less than 3 elements separately.
Use a set to store distinct elements for efficient processing.
You are provided with a string STR
of length N. The task is to find the longest palindromic substring within STR
. If there are several palindromic substring...
Find the longest palindromic substring in a given string.
Iterate through the string and expand around each character to find palindromes
Keep track of the longest palindrome found so far
Return the longest palindromic substring
In this problem, Ninja is provided with two lines on a 2D plane. The first line 'AB' is determined by two points A and B. The second line 'PQ' is determined by two poi...
Calculate the intersection point of two lines on a 2D plane with precision up to six decimal places.
Implement a function to calculate the intersection point of two lines on a 2D plane
Handle precision up to six decimal places in the output
Return -1.000000 -1.000000 if the lines do not intersect
Ensure the lines 'AB' and 'PQ' are distinct
Tip 1 : Have some projects.
Tip 2 : Do a course from Coding Ninjas.
Tip 1 : Keep it short
Tip 2 : Add skills iff you are sure
based on 1 interview experience
Test Engineer
86
salaries
| ₹2.8 L/yr - ₹12 L/yr |
Software Developer
83
salaries
| ₹2.7 L/yr - ₹13.2 L/yr |
Softwaretest Engineer
58
salaries
| ₹3 L/yr - ₹10 L/yr |
Java Developer
34
salaries
| ₹3.8 L/yr - ₹5.6 L/yr |
Senior Software Developer
22
salaries
| ₹15.4 L/yr - ₹26.6 L/yr |
Mobikwik
BharatPe
Freecharge
Clix Capital Services