HexaView Technologies
10+ VVDN Technologies Interview Questions and Answers
Q1. Missing Number Problem Statement
You are provided with an array named BINARYNUMS
consisting of N
unique strings. Each string represents an integer in binary, covering every integer from 0 to N except for one. Y...read more
Q2. Minimum Special Sum Problem
You are given an array ARR
of length N
. There are two operations defined for each index i
in the array:
- FIRST_SUM(i): Calculates the sum of the first
i
numbers. - LAST_SUM(i): Calcula...read more
Q3. Number Pattern Problem Statement
Given an integer 'N', print a specific pattern on 'N' lines where numbers are aligned in a particular format.
Example:
Input:
N = 4
Output:
1
232
34543
4567654
Explanation:
The ...read more
Q4. Spiral Matrix Problem Statement
You are given a N x M
matrix of integers. Your task is to return the spiral path of the matrix elements.
Input
The first line contains an integer 'T' which denotes the number of ...read more
Q5. Pattern Printing Task
You are tasked with printing a specific pattern based on the given number of rows, 'N'. For any input value of 'N', generate and print a pattern as described in the example.
Input:
1 5
Ou...read more
Q6. Wildcard Pattern Matching Problem Statement
Implement a wildcard pattern matching algorithm to determine if a given wildcard pattern matches a text string completely.
The wildcard pattern may include the charac...read more
Q7. Time to Burn Tree Problem
You are given a binary tree consisting of 'N' unique nodes and a start node where the burning will commence. The task is to calculate the time in minutes required to completely burn th...read more
Q8. Design of algorithms and puzzles and DBMS
Designing algorithms and puzzles requires creativity and logical thinking. DBMS knowledge is essential for efficient data management.
Algorithm design involves breaking down complex problems into smaller, manageable steps.
Puzzle design requires creativity and the ability to think outside the box.
DBMS knowledge is essential for efficient data management and retrieval.
Understanding data structures and algorithms is crucial for designing efficient DBMS systems.
Q9. How many times we can subtract 10 from 100?
You can subtract 10 from 100 ten times.
Subtract 10 from 100 once to get 90.
Subtract 10 from 90 to get 80.
Repeat this process until you reach 0.
You can subtract 10 from 100 ten times in total.
Q10. What is class ,object and differentiationthem
A class is a blueprint for creating objects, which are instances of a class. Objects are instances of a class with specific attributes and behaviors.
Class: Blueprint for creating objects
Object: Instance of a class with specific attributes and behaviors
Differentiation: Class is like a template, object is a specific instance of that template
Q11. Valid parenthesis (all approaches ) time and space complexity and past projects.
Valid parenthesis time and space complexity and past projects
Approaches for checking valid parenthesis include using a stack or recursion
Time complexity for stack approach is O(n) and space complexity is O(n)
Time complexity for recursion approach is O(2^n) and space complexity is O(n)
Past projects may include developing algorithms for string manipulation or parsing
Q12. Pillars of oops
Pillars of OOPs include Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Abstraction: Hiding the complex implementation details and showing only the necessary features of an object.
Polymorphism: Ability of an object to take on many forms.
Q13. Naive algorithm
Naive algorithm is a simple approach to solving a problem without considering efficiency.
Naive algorithms are straightforward and easy to implement.
They may not be the most efficient solution for complex problems.
Examples include linear search for finding an element in an array and bubble sort for sorting elements.
Q14. find duplicate numbers, prime num er program
Program to find duplicate numbers and prime numbers in an array of strings.
Iterate through the array to find duplicate numbers using a hashmap or set.
Check each number in the array for primality using a function that checks divisibility.
Store the duplicate numbers and prime numbers in separate arrays for further processing.
Q15. ACID Properties
ACID properties are a set of properties that guarantee database transactions are processed reliably.
ACID stands for Atomicity, Consistency, Isolation, Durability
Atomicity ensures that all operations in a transaction are completed successfully or none at all
Consistency ensures that the database remains in a consistent state before and after the transaction
Isolation ensures that transactions are independent of each other
Durability ensures that once a transaction is committed, i...read more
More about working at HexaView Technologies
Interview Process at VVDN Technologies
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month