i
Tech
Vedika
Filter interviews by
I appeared for an interview in Apr 2021.
Round duration - 90 minutes
Round difficulty - Medium
Coding Round:
Questions -3
Time- 90 min
Topic- DP, Array, String
Given an array of size N
and Q
queries, each query requires left rotating the original array by a specified number of elements. Return the modified array for each query.
Rotate an array left by a specified number of elements for each query.
Iterate through each query and rotate the array left by the specified number of elements using array slicing.
Handle cases where the number of rotations exceeds the length of the array by taking the modulo of the rotations.
Return the modified array after each query is processed.
Given an infinite supply of coins of varying denominations, determine the total number of ways to make change for a specified value using these coins. If it's not possible to make...
The task is to find the total number of ways to make change for a specified value using given denominations.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to store the number of ways to make change for each value up to the specified value.
Iterate through each denomination and update the array accordingly.
The final answer will be stored in the last cell of the array.
Example: For N=3, D=[1, 2...
Given a string (STR
) of length N
, you are tasked to create a new string through the following method:
Select the smallest character from the first K
characters of STR
, remov...
Given a string and an integer K, create a new string by selecting the smallest character from the first K characters of the input string and repeating the process until the input string is empty.
Iterate through the input string, selecting the smallest character from the first K characters each time.
Remove the selected character from the input string and append it to the new string.
Continue this process until the input ...
Tip1 : Practice at least 250 Questions based on DSA
Tip2 : Practice at least 50 Basic Javascript Questions
Tip3 : Practice at least 50 SQL query Questions
Tip4 : Do at least 2 projects ( full stack-based technology )
Tip 1 : Keep it short. Mention the academic and professional projects you've done.
Tip 2 : Add your educational details properly with the percentage or CGPA obtained.
Tip 3 : Have some projects on a resume.
Tip 4 : Do not put false things on your resume.
Top trending discussions
posted on 26 May 2025
I appeared for an interview in Apr 2025, where I was asked the following questions.
Optional chaining allows safe access to deeply nested object properties without causing runtime errors if a property is undefined or null.
Prevents runtime errors when accessing properties of an object that may not exist.
Syntax: Use the '?' operator before accessing a property, e.g., obj?.property.
Example: const name = user?.profile?.name; // returns undefined if user or profile is null.
Can be used with function calls: ...
I applied via Recruitment Consulltant and was interviewed in Sep 2023. There were 4 interview rounds.
Intermediate aptitude questions .
No negative marking .
Written test held at JMR infotech
posted on 27 Jan 2022
I applied via Campus Placement and was interviewed in Jul 2021. There were 2 interview rounds.
public static use for accessing methods and variables without creating an object
Allows access to methods and variables without creating an object
Useful for utility classes where objects are not needed
Can be used to create global variables or constants
Example: Math class in Java has only static methods and constants
posted on 6 Mar 2024
Medium level questions from all sectors
Technical MCQ and easy coding questions
Artificial intelligence
I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.
Generator functions are functions that can be paused and resumed, allowing for lazy evaluation of data.
Generator functions use the yield keyword to pause execution and return a value.
They can be used to generate an infinite sequence of values.
They are memory efficient as they only generate values when needed.
Example: function* myGenerator() { yield 1; yield 2; yield 3; }
Example: const infiniteGenerator = function*() { ...
Push notifications can be implemented in Android and iOS using Firebase Cloud Messaging (FCM) and Apple Push Notification service (APNs) respectively.
For Android, integrate FCM SDK in the app and use FCM console to send notifications.
For iOS, create an APNs certificate, configure the app to receive notifications, and use APNs to send notifications.
Both platforms require handling of notification payload in the app to di...
I used React Native for my last app.
Developed UI components using React Native
Integrated APIs to fetch and display data
Implemented Redux for state management
Used Firebase for authentication and database
Optimized app performance using React Native Debugger
Functional components are stateless and return UI elements based on input props, while non-functional components have state and can change UI based on user interaction.
Functional components are simpler and easier to test than non-functional components.
Non-functional components can have state and lifecycle methods, while functional components cannot.
Examples of functional components include buttons, labels, and icons, w...
posted on 10 Aug 2024
A self join query is used to join a table to itself in a SQL query.
Self join is used when a table needs to be joined with itself to compare rows within the same table.
It requires aliasing the table with different names to distinguish between the two instances of the same table.
Commonly used in hierarchical data structures or when comparing related rows in a table.
Group by query is used to group data based on a specific category.
Use the GROUP BY clause in SQL to group data based on a specific column
Aggregate functions like COUNT, SUM, AVG can be used with GROUP BY to perform calculations on grouped data
Example: SELECT category, COUNT(*) FROM products GROUP BY category
posted on 27 Oct 2023
I applied via Campus Placement and was interviewed before Oct 2022. There were 4 interview rounds.
It was a MCQ + Coding test
posted on 19 Sep 2024
I applied via Campus Placement and was interviewed before Sep 2023. There were 2 interview rounds.
It was around 2 hrs with 2 coding questions and some mcq questions on fundamentals
Print numbers in a tree format
Use recursion to print numbers in a tree structure
Start with the root node and recursively print child nodes
Use indentation to represent levels in the tree
Example: 1 --2 ----3 --4
Factorial of a number can be calculated using both iterative and recursive methods.
Iterative method involves using a loop to multiply numbers from 1 to n.
Recursive method involves calling the function with n-1 until n reaches 1.
Example: Factorial of 5 using iterative method: 5! = 5*4*3*2*1 = 120
Example: Factorial of 5 using recursive method: 5! = 5 * 4!
Example: Factorial of 4 using recursive method: 4! = 4 * 3!
posted on 8 Feb 2022
This code demonstrates a simple Python function to calculate the factorial of a number using recursion.
Define a function named 'factorial' that takes one argument 'n'.
Check if 'n' is less than or equal to 1; if so, return 1.
Otherwise, return 'n' multiplied by 'factorial(n-1)'.
Example: factorial(5) returns 120.
Calculate the angle between the hour and minute hands of a clock at 3:15.
Each hour on the clock represents 30 degrees (360 degrees / 12 hours).
Each minute represents 6 degrees (360 degrees / 60 minutes).
At 3:15, the hour hand is at 97.5 degrees (3 hours * 30 + 15 minutes * 0.5).
The minute hand is at 90 degrees (15 minutes * 6).
The angle between the hands is the absolute difference: |97.5 - 90| = 7.5 degrees.
based on 4 reviews
Rating in categories
Senior Software Engineer
42
salaries
| ₹9 L/yr - ₹16.6 L/yr |
Software Engineer
26
salaries
| ₹3.5 L/yr - ₹9.2 L/yr |
Associate Software Analyst
16
salaries
| ₹7.5 L/yr - ₹17.5 L/yr |
Software Analyst
12
salaries
| ₹13 L/yr - ₹27.5 L/yr |
Software Developer
11
salaries
| ₹2.8 L/yr - ₹7 L/yr |
PC Solutions
JMR Infotech
RNF Technologies
Ahana Systems & Solutions