Filter interviews by
Online test on mettl
I applied via Referral and was interviewed in Mar 2021. There were 3 interview rounds.
Swap two numbers without using third variable
Use arithmetic operators to swap values
Addition and subtraction can be used to swap values
XOR operator can also be used to swap values
Reverse a string without using array
Use two pointers, one at the start and one at the end of the string
Swap the characters at the two pointers and move the pointers towards each other
Repeat until the pointers meet in the middle of the string
Find the largest palindrome substring in a given string.
Iterate through the string and check for palindromes of odd and even lengths.
Keep track of the largest palindrome found so far.
Use dynamic programming to optimize the solution.
Example: 'babad' -> 'bab' or 'aba'.
Sort numbers in string format using Python
Convert the array of strings to an array of integers using map()
Sort the array of integers using sorted()
Convert the sorted array of integers back to an array of strings using map()
Execution of non-existent file
An error message is displayed indicating the file does not exist
The program may crash or terminate abruptly
The operating system may throw an exception
The program may prompt the user to create the file
To give group and user permissions in Linux, use the chmod command.
Use the chmod command followed by the permission code (e.g. 755) and the file or directory name.
To give permissions to a specific user, use the chown command followed by the username and file or directory name.
To give permissions to a specific group, use the chgrp command followed by the group name and file or directory name.
Docker is a platform for developing, shipping, and running applications using containerization technology.
Docker allows developers to package their applications and dependencies into a container that can run on any system
Containers are lightweight and provide isolation, making it easy to deploy and scale applications
Docker Hub is a repository of pre-built images that can be used to quickly deploy applications
Docker Com...
Kubernetes is an open-source container orchestration platform that automates deployment, scaling, and management of containerized applications.
Kubernetes is used to manage containerized applications across multiple hosts.
It automates deployment, scaling, and management of containerized applications.
It provides a platform for deploying, scaling, and managing containerized applications.
Kubernetes is highly scalable and f...
Kubernetes was chosen due to its superior orchestration capabilities and larger community support.
Kubernetes has better load balancing and scaling features
Kubernetes has a larger community and more resources available
Docker Swarm is simpler and easier to use for smaller projects
Kubernetes is more suitable for complex, large-scale applications
Code is pushed to Github using Git commands through the terminal or a Git client.
Create a new repository on Github
Clone the repository to your local machine
Make changes to the code and commit them using Git commands
Push the changes to Github using Git commands
git clone copies a repository to local machine while git fork creates a copy on GitHub.
git clone downloads the entire repository to local machine
git fork creates a copy of the repository on GitHub
git clone is used to work on an existing repository
git fork is used to contribute to someone else's repository
git clone creates a local copy of the repository
git fork creates a remote copy of the repository
Maven is a build automation tool used primarily for Java projects.
Maven manages dependencies and builds the project using a pom.xml file
It simplifies the build process by providing a standard way of building and packaging projects
Maven can also generate reports and documentation for the project
Example: mvn clean install - compiles, tests, and packages the project
To change the owner of a file in Linux, use the chown command.
Use the chown command followed by the new owner's username and the file name.
To change the owner and group, use chown followed by the new owner's username, a colon, the new group's name, and the file name.
To change the owner of a directory and its contents, use the -R option with chown.
Example: chown newowner myfile.txt
Example: chown newowner:newgroup myfile
A cron job can be run using the crontab command in Unix/Linux systems.
Open the terminal and type 'crontab -e' to edit the cron table.
Add a new line with the desired schedule and command to run.
Save and exit the editor to activate the cron job.
Use 'crontab -l' to list all current cron jobs.
Use 'crontab -r' to remove all cron jobs.
Top trending discussions
Basic questions on maths related parts and analysis skills
Coding questions from various Data Structure parts like linkedList stack queue
I applied via Walk-in and was interviewed in Aug 2023. There were 2 interview rounds.
Geometry, coding, math's
Find the largest string from a given array of 5 strings
Iterate through the array of strings and compare the length of each string
Keep track of the largest string found so far
Return the largest string at the end
Use Selenium WebDriver to locate the dropdown element and check if the required option is displayed
Locate the dropdown element using Selenium WebDriver
Use the Select class to interact with the dropdown
Verify if the required option is displayed using isSelected() method
posted on 16 Jan 2025
String related questions
Iterate through array to find middle element with equal left and right sum
Iterate through array and calculate sum of elements on left and right of each element
Return element if left sum equals right sum
Handle edge cases like array with less than 3 elements
I applied via Referral and was interviewed in Nov 2023. There were 2 interview rounds.
It was a DSA based coding test with 3 questions on array ( sorting, binary search and two pointers)
I applied via Recruitment Consulltant and was interviewed in Nov 2024. There were 2 interview rounds.
ETL stands for Extract, Transform, Load. It is a process used to extract data from various sources, transform it into a consistent format, and load it into a target database or data warehouse.
Extract: Involves extracting data from different sources such as databases, files, APIs, etc.
Transform: Data is cleaned, validated, and transformed into a consistent format suitable for analysis.
Load: The transformed data is loade...
The correct structure of a DBMS diagram includes entities, attributes, relationships, and keys.
Entities represent the main objects in the database (e.g. Customer, Product).
Attributes are characteristics of entities (e.g. CustomerID, ProductName).
Relationships show how entities are related to each other (e.g. one-to-many, many-to-many).
Keys uniquely identify each record in a table (e.g. Primary Key, Foreign Key).
Senior Consultant
10
salaries
| ₹12 L/yr - ₹30.5 L/yr |
Senior Software Engineer
8
salaries
| ₹18 L/yr - ₹30 L/yr |
Accountant
7
salaries
| ₹1 L/yr - ₹4.4 L/yr |
Software Engineer2
7
salaries
| ₹13.2 L/yr - ₹21 L/yr |
Software Engineer Level 1
7
salaries
| ₹9.8 L/yr - ₹11.2 L/yr |
TCS
Infosys
Wipro
HCLTech