Add office photos
Engaged Employer

Nagarro

4.0
based on 4.1k Reviews
Video summary
Filter interviews by

10+ Deqode Interview Questions and Answers

Updated 16 Nov 2024
Popular Designations

Q1. 1. How to make object thread-safe? 2. Create an Immutable class. 3. Which Garbage collection algorithm is used in Java. 4. print the left view of the Binary tree 5. working of Circuiter breaker design pattern....

read more
Ans.

Technical interview questions for Associate Staff Engineer position

  • To make an object thread-safe, use synchronization or use thread-safe data structures

  • Immutable class is a class whose state cannot be modified after creation

  • Java uses a mark-and-sweep algorithm for garbage collection

  • To print the left view of a binary tree, perform a level order traversal and print the first node at each level

  • Circuit breaker design pattern is used to prevent cascading failures in distributed sy...read more

Add your answer

Q2. Create a timer with start stop and reset button which will work automatically when mount but buttons can also interfere in between.

Ans.

Create a timer with start stop and reset buttons that can work automatically but also be manually controlled.

  • Implement a timer function that starts counting when mounted

  • Include start, stop, and reset buttons for manual control

  • Allow the buttons to interfere with the automatic timer

  • Use JavaScript to handle the timer functionality

Add your answer

Q3. Create a comment section with name time and comment where user can reply and the reply is nested with the comment.

Ans.

Create a nested comment section with name, time, and comment for users to reply.

  • Create a parent comment section with fields for name, time, and comment

  • Allow users to reply to comments, with nested replies

  • Display nested replies under the parent comment they are replying to

Add your answer

Q4. Flatten an object with nested objects as simplified keys. Like person.name.firstName.

Ans.

Flatten nested objects with simplified keys like person.name.firstName

  • Iterate through the nested objects using recursion

  • Concatenate the keys with a dot to create the simplified key

  • Store the value of the nested key in the flattened object

Add your answer
Discover Deqode interview dos and don'ts from real experiences

Q5. What are the spark job optimisation techniques

Ans.

Spark job optimisation techniques include partitioning, caching, and tuning resource allocation.

  • Partitioning data to distribute workload evenly

  • Caching intermediate results to avoid recomputation

  • Tuning resource allocation like memory and CPU cores

  • Using broadcast variables for small lookup tables

  • Avoiding shuffling operations whenever possible

Add your answer

Q6. 8. Isolation level a transaction propagation

Ans.

Isolation level determines how transactions interact with each other.

  • Isolation level defines the degree of locking and visibility of data during a transaction.

  • It affects the concurrency and consistency of the database.

  • Examples of isolation levels are READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, and SERIALIZABLE.

  • Transaction propagation refers to the behavior of transactions when they are nested or called from other transactions.

Add your answer

Q7. Explain Lazy loading in Angular

Ans.

Lazy loading is a technique used in Angular to load modules on demand instead of loading everything at once.

  • Lazy loading helps to improve the performance of the application by reducing the initial load time.

  • It allows the application to load only the required modules when they are needed.

  • Lazy loading is achieved by using the loadChildren method in the routing configuration.

  • Example: loadChildren: () => import('./lazy/lazy.module').then(m => m.LazyModule)

Add your answer

Q8. Give the Introduction

Ans.

Introduction is the first part of a speech or presentation where the speaker grabs the audience's attention and sets the tone for the rest of the talk.

  • Start with a hook to grab the audience's attention

  • Introduce yourself and your topic

  • Provide some background information or context

  • Preview what you will be discussing in the main body of the speech

Add your answer

Q9. NoSql vs Sql and uses

Ans.

NoSQL databases are non-relational, flexible, and scalable, while SQL databases are relational and structured.

  • NoSQL databases are schema-less, allowing for flexibility in data storage.

  • SQL databases use structured query language for data manipulation.

  • NoSQL databases are better suited for unstructured or semi-structured data.

  • SQL databases are ideal for complex queries and transactions.

  • Examples of NoSQL databases include MongoDB, Cassandra, and Redis.

  • Examples of SQL databases in...read more

Add your answer

Q10. Lambda uses in java

Ans.

Lambda expressions in Java are used to provide a concise way to represent anonymous functions.

  • Lambda expressions are used to implement functional interfaces in Java.

  • They reduce the need for anonymous inner classes.

  • Lambda expressions can be used to iterate over collections using forEach method.

  • They can also be used with streams to perform operations on collections.

  • Syntax: (parameters) -> expression or (parameters) -> { statements; }

Add your answer

More about working at Nagarro

#2 Best Large Company - 2022
#1 Best IT/ITES Company - 2022
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Deqode

based on 38 interviews
5 Interview rounds
Resume Shortlist Round
Technical Round - 1
Technical Round - 2
HR Round
Technical Round - 3
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter