Black Duck Software Engineer Interview Question
- Result
- Offer
- Location
- null
- Posted
- 15 Aug 2025
Summary
Interviewed for a Software Engineer position at Black Duck. The interview process included a mix of core Java, SQL, REST, and DSA questions. The candidate was asked about Records, HashMap internals, equals vs hashCode, SQL queries, Java 8 features, cycle detection in linked lists, merging sorted arrays, and other fundamental concepts. The interview focused on both theoretical knowledge and problem-solving abilities.
How it went
During my interview at Black Duck for the Software Engineer role, I was asked a variety of questions covering core Java, SQL, REST, and data structures and algorithms. The interview started with questions on Records and the internal workings of HashMap. I was also asked to explain the difference between equals() and hashCode(), which are fundamental concepts in Java object equality. The SQL section included basic queries involving LIMIT, OFFSET, and JOINs. I was also questioned about Java 8 features such as lambda expressions, streams, and the (::) operator. In the DSA section, I was asked to detect a cycle in a linked list and merge two sorted arrays. Additionally, I was asked about the differences between arrays and ArrayList, as well as some basic REST concepts like produces, consumes, content-type, and accept. I was also questioned about the difference between .equals() and ==, and some static variables and method output questions.
Questions asked (11)
- 01
What are Records?
Core Java
Explain what Records are in Java.
- 02
Internal workings of `HashMap`
Core Java
Describe the internal workings of the HashMap in Java.
- 03
equals() vs hashCode()
Core Java
Explain the difference between the equals() and hashCode() methods in Java.
- 04
Basic SQL queries
SQL
Write basic SQL queries involving LIMIT, OFFSET, and JOINs.
- 05
Java 8 features
Core Java
Explain Java 3 features such as lambda expressions, streams, and the (::) operator.
- 06
Detect cycle in Linked List
Data Structures & Algorithms · Medium
Detect a cycle in a linked list.
- 07
Merge two sorted arrays
Data Structures & Algorithms · Medium
Merge two sorted arrays.
- 08
Arrays vs ArrayList
Core Java
Explain the difference between arrays and ArrayList in Java.
- 09
REST concepts
REST
Explain basic REST concepts such as produces, consumes, content-type, and accept.
- 10
.equals() vs ==
Core Java
Explain the difference between .equals() and == in Java.
- 11
Static variables and method output questions
Core Java
Answer questions related to static variables and method output in Java.