Add office photos
Employer?
Claim Account for FREE

Optum

4.0
based on 3.9k Reviews
Filter interviews by

20+ DLF Interview Questions and Answers

Updated 26 Nov 2024
Popular Designations
Q1. Delete a Node from Linked List

You have been given a linked list of integers. Your task is to write a function that deletes a node from a given position, 'POS'.

Note :
Assume that the Indexing for the linked lis...read more
View 2 more answers
Q2. Longest Palindromic Substring

You are given a string ('STR') of length 'N'. Find the longest palindromic substring. If there is more than one palindromic substring with the maximum length, return the one with th...read more

View 4 more answers
Q3. Array Intersection

You have been given two integer arrays/list(ARR1 and ARR2) of size N and M, respectively. You need to print their intersection; An intersection for this problem can be defined when both the ar...read more

Add your answer
Q4. Author And Books

You are given a certain format of books and their authors.

For example -

NameOfAuthor1 Book1 Book2

NameOfAuthor2 Book1

Your task is to print the given information in the following manner:

1. Nam...read more
View 2 more answers
Discover DLF interview dos and don'ts from real experiences
Q5. Minimum days to complete work

We have to complete a total of ‘N’ works. Now, each work can be done on only one of the two special days given in 2 different arrays ‘day1’ and ‘day2’ respectively.

day1[i] denotes ...read more

View 2 more answers
Q6. Bubble Sort

Bubble Sort is one of the sorting algorithms that works by repeatedly swapping the adjacent elements of the array if they are not in sorted order.

You are given an unsorted array consisting of N non-...read more

View 2 more answers
Are these interview questions helpful?
Q7. Kth largest element in the unsorted array

You are given an array consisting of 'N' distinct positive integers and a number 'K'. Your task is to find the kth largest element in the array.

Example:
Consider the ar...read more
View 3 more answers
Q8. Find a value whose XOR with a given value is maximum

You are given an integer 'X' and your task is to find an integer 'Y' such that the bitwise XOR of the integers 'X' and 'Y' give the maximum possible value. Th...read more

View 2 more answers
Share interview questions and help millions of jobseekers 🌟
Q9. Colour the Graph

You are given a graph with 'N' vertices numbered from '1' to 'N' and 'M' edges. You have to colour this graph in two different colours, say blue and red such that no two vertices connected by an...read more

Add your answer
Q10. Puzzle

How to measure 9 minutes using only a 4 minute and 7 minute hourglass.

Add your answer
Q11. Project Questions

Next, as I did python so these were questions were asked:

"Docstring, Lambda. Parse in python and Delete a file in python"

Add your answer

Q12. What is the difference between obj open and obj open by handle

Ans.

obj open vs obj open by handle

  • obj open opens a file and returns a file object

  • obj open by handle opens a file using a file descriptor

  • obj open by handle is faster than obj open

  • obj open by handle is used when you already have a file descriptor

Add your answer

Q13. How to change the work object status of the multiple cases from pending to closed.

Ans.

To change work object status of multiple cases from pending to closed.

  • Identify the cases that need to be closed

  • Update the status of each case to closed

  • Save the changes made to the cases

  • Use a loop to perform the above steps for multiple cases

  • Example: Use a query to identify all cases with pending status and update their status to closed

Add your answer
Q14. DBMS Query

5th highest salary in a list of salaries.

Add your answer

Q15. What is the one thing you want to expereince?

Ans.

I want to experience living in a different country and immersing myself in a new culture.

  • Traveling to a foreign country and learning about their customs and traditions

  • Trying new foods and experiencing different ways of life

  • Making friends with locals and exploring the local attractions

Add your answer

Q16. Difference between append to and append to map to

Ans.

Append to adds an element to a list while append to map adds a key-value pair to a map.

  • Append to is used for lists while append to map is used for maps.

  • Append to adds an element to the end of the list while append to map adds a key-value pair to the map.

  • Append to map can also update the value of an existing key in the map.

Add your answer

Q17. Queue processor and job schedule difference

Ans.

Queue processor manages tasks in a queue while job scheduler schedules tasks based on time or event triggers.

  • Queue processor manages tasks in a queue and processes them in a first-in, first-out (FIFO) order.

  • Job scheduler schedules tasks based on time or event triggers, and can prioritize tasks based on their importance.

  • Queue processor is typically used for real-time processing of tasks, while job scheduler is used for batch processing.

  • Examples of queue processors include Rabb...read more

Add your answer

Q18. Why blocked rules are carry forward

Ans.

Blocked rules are carry forward to ensure consistency and prevent errors in future processing.

  • Blocked rules are rules that have been prevented from executing due to certain conditions not being met.

  • These rules are carried forward to ensure that they are not missed in future processing.

  • This helps to maintain consistency and prevent errors in the system.

  • For example, if a rule is blocked due to a missing data field, it will be carried forward until the missing field is filled in...read more

Add your answer

Q19. Difference between relational and non relational dbms

Ans.

Relational DBMS stores data in tables with predefined relationships, while non-relational DBMS stores data in flexible, schema-less formats.

  • Relational DBMS uses structured query language (SQL) for querying data

  • Non-relational DBMS can store data in various formats like key-value pairs, document-based, graph databases

  • Relational DBMS ensures data integrity through normalization and constraints

  • Non-relational DBMS offers better scalability and flexibility for handling unstructured...read more

Add your answer

Q20. difference betweeen class,abstract class,interface in python

Ans.

Class is a blueprint for creating objects, abstract class cannot be instantiated and can have abstract methods, interface is a contract for classes to implement certain methods.

  • Class is a blueprint for creating objects with attributes and methods.

  • Abstract class cannot be instantiated and can have abstract methods that must be implemented by subclasses.

  • Interface is a contract for classes to implement certain methods, but does not provide any implementation.

Add your answer

Q21. Use of superclass data transform check box

Ans.

Superclass data transform checkbox is used to inherit data transform rules from a parent class.

  • When checked, the subclass will inherit the data transform rules from the superclass

  • This can save time and effort in creating duplicate data transform rules

  • Example: A superclass has a data transform rule to convert a date format, when the checkbox is checked in a subclass, it will also use the same rule

  • This checkbox is available in Pega platform for software development

Add your answer

Q22. What is the use of previliges

Ans.

Privileges are permissions granted to users or processes to perform specific actions or access certain resources.

  • Privileges are used to control access to sensitive data or critical system resources.

  • They can be assigned to individual users or groups.

  • Examples include read, write, execute, and delete permissions.

  • Privileges can also be used to restrict access to certain functions or features within an application.

  • Without proper privileges, users may not be able to perform necessa...read more

Add your answer

Q23. what is binary search

Ans.

Binary search is a search algorithm that finds the position of a target value within a sorted array.

  • Divide and conquer approach

  • Compares target value with middle element of array

  • If target value is smaller, search left half; if larger, search right half

  • Repeat process until target value is found or subarray is empty

Add your answer

Q24. What are closer in js

Ans.

Closures in JavaScript are functions that have access to variables from their outer scope even after the outer function has finished executing.

  • Closures allow for maintaining state in an asynchronous environment.

  • They are created whenever a function is defined within another function.

  • Closures can be used to create private variables and functions in JavaScript.

Add your answer

Q25. what is linked list

Ans.

A linked list is a data structure consisting of nodes where each node contains a data field and a reference to the next node in the sequence.

  • Linked list elements are not stored in contiguous memory locations like arrays.

  • Each node in a linked list contains data and a reference to the next node.

  • Linked lists can be singly linked (each node points to the next node) or doubly linked (each node points to both the next and previous nodes).

Add your answer

Q26. find next max element

Ans.

Find the next maximum element in an array of strings.

  • Iterate through the array and keep track of the current maximum element.

  • Compare each element with the current maximum and update if a larger element is found.

  • Return the next maximum element after the current maximum.

Add your answer

Q27. Write a code on debouncing

Ans.

Debouncing is a technique used to limit the rate at which a function is called.

  • Use a timer to delay the execution of a function until a certain amount of time has passed without the function being called again.

  • Reset the timer each time the function is called to prevent it from being executed multiple times in quick succession.

  • Debouncing is commonly used in scenarios like handling button clicks to prevent multiple rapid clicks from triggering the function multiple times.

Add your answer

Q28. Longest Consecutive Sequence

Ans.

Find the longest consecutive sequence in an array of integers.

  • Sort the array to make it easier to identify consecutive numbers.

  • Iterate through the array and keep track of the current consecutive sequence length.

  • Update the longest consecutive sequence length as you iterate through the array.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at DLF

based on 12 interviews in the last 1 year
2 Interview rounds
Technical Round 1
Technical Round 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

3.3
 • 36 Interview Questions
3.9
 • 24 Interview Questions
3.8
 • 20 Interview Questions
3.6
 • 11 Interview Questions
4.5
 • 10 Interview Questions
4.0
 • 10 Interview Questions
View all
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
Get AmbitionBox app

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