Filter interviews by
There is no such word as 'prasnility'.
There is no definition or meaning for the word 'prasnility'.
It is possible that the interviewer misspoke or meant to ask a different question.
Without further context or clarification, it is impossible to provide a relevant answer.
Assignment
No, sky is not in air. Sky is the atmosphere above the earth.
Sky is the region of the atmosphere seen from the earth's surface.
Air is the invisible gaseous substance surrounding the earth.
Sky and air are related but not the same thing.
Sky is a part of air, but air is not a part of the sky.
It is unclear what 'foundati' refers to. Please provide more context or clarification.
Please provide more information or context about 'foundati'
Without more information, it is difficult to provide a meaningful answer
Please clarify the question or provide more details
The question is unclear. Which location are you referring to?
The amount of rainfall varies depending on the location.
Rainfall can be measured in millimeters or inches.
Rainfall is important for agriculture and water supply.
Some areas experience heavy rainfall, while others are prone to drought.
Rainfall patterns can be affected by climate change.
Yes, air in the sky is known as atmosphere.
The atmosphere is a layer of gases surrounding the Earth.
It is composed of nitrogen, oxygen, carbon dioxide, and other gases.
The atmosphere protects us from harmful radiation and meteoroids.
It also plays a crucial role in regulating the Earth's temperature and climate.
The atmosphere is divided into five layers: troposphere, stratosphere, mesosphere, thermosphere, and exosphere
Showed is the past tense of show, which means to display or exhibit something.
Showed is a verb that indicates something was displayed or presented in the past.
It can also mean to demonstrate or prove something.
Example: She showed her artwork at the gallery last week.
Example: He showed his math skills by solving the problem quickly.
Example: The data showed a significant increase in sales.
India County does not exist. India is divided into states and union territories.
India is divided into 28 states and 8 union territories
Each state and union territory has its own government and administrative structure
India does not have counties like some other countries such as the United States
The closest equivalent to a county in India would be a district, which is a smaller administrative unit within a state
Top trending discussions
I am a highly skilled System Engineer with expertise in designing and implementing complex systems.
Experienced in managing and troubleshooting network infrastructure
Proficient in virtualization technologies such as VMware and Hyper-V
Strong knowledge of operating systems like Windows and Linux
Familiar with scripting languages like PowerShell and Bash
Excellent problem-solving and communication skills
Yes, I have experience working in teams.
I have worked on several group projects during my studies.
I have collaborated with colleagues to solve complex technical problems.
I have participated in cross-functional teams to implement system upgrades.
I have also been part of agile development teams, working closely with software engineers and testers.
One example of teamwork is when I led a team of engineers to successfully d
Mechanical Engineering offers a diverse range of opportunities to apply scientific principles to solve real-world problems.
Mechanical Engineering provides a strong foundation in math, physics, and materials science.
It offers a wide range of career opportunities in various industries such as automotive, aerospace, and manufacturing.
Mechanical Engineers design and develop machines, tools, and systems that improve our dai...
I am a software engineer with experience in developing web applications and mobile apps.
I have a degree in Computer Science
I have worked with Java, Python, and JavaScript
I have experience with front-end frameworks like React and Angular
I have developed mobile apps using React Native
I am familiar with Agile methodologies
I have a passion for software development and enjoy the challenges it presents.
I have always been interested in technology and programming
I have taken courses and completed projects in software development
I enjoy problem-solving and finding efficient solutions
I believe software engineering is a constantly evolving field with endless opportunities for growth
A program to check if a given number is prime or not.
A prime number is a number that is only divisible by 1 and itself.
Start checking from 2 up to the square root of the number.
If the number is divisible by any number in the range, it is not prime.
Otherwise, it is prime.
Optimization: check only odd numbers after 2.
Fibonacci program generates a series of numbers where each number is the sum of the two preceding ones.
The program can be implemented using recursion or iteration.
The first two numbers in the series are always 0 and 1.
The next number is the sum of the previous two numbers.
Example: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418,...
Flowchart for two programs
Identify inputs and outputs
Determine program logic
Create decision points and loops
Connect program components
Include error handling
Test and debug
Document the flowchart
Find sum of all numbers formed from root to leaf path in a binary tree
Traverse the binary tree using DFS
At each leaf node, add the number formed from root to leaf path to a sum variable
Return the sum variable
Time complexity: O(n)
Example: For a binary tree with root value 1, left child 2 and right child 3, the sum would be 12 + 13 = 25
Given a string, print all possible strings that can be made by placing spaces (zero or one) in between them.
Use recursion to generate all possible combinations of spaces
For each recursive call, either add a space or don't add a space between the current character and the next character
Base case is when there are no more characters left to add spaces between
Time complexity is O(2^n) where n is the length of the string
Preorder traversal without recursion
Use a stack to keep track of nodes
Push right child first and then left child onto stack
Pop top of stack and print value
Repeat until stack is empty
Find longest continuous patch on a 12 km road with updates in patches
Maintain a variable to keep track of current patch length
Update the variable whenever a new patch is added
Maintain a variable to keep track of longest patch so far
Compare current patch length with longest patch length and update if necessary
Use a sorted data structure like a binary search tree to store the patches for efficient search
Time complexity: ...
Find median of an unsorted array.
Sort the array and find the middle element
Use quickselect algorithm to find the median in O(n) time
If the array is small, use brute force to find the median
Find 'k' elements closest to a given number from a stream of characters.
Use a priority queue to keep track of closest elements.
Update the queue as new characters come in.
Return the 'k' closest elements from the queue.
Design a data structure with O(1) insert, remove, find-max, and delete-max operations.
Use a doubly linked list to maintain the elements in sorted order.
Use a hash table to store the pointers to the nodes in the linked list.
Maintain a pointer to the maximum element in the hash table.
Update the pointers in the hash table when inserting or removing elements.
Update the maximum pointer when deleting or inserting the maximum
Check if a given linked list is a palindrome.
Traverse the linked list and store the values in an array.
Compare the first and last elements of the array, then move towards the center.
If all elements match, the linked list is a palindrome.
Alternatively, use two pointers to find the middle of the linked list and reverse the second half.
Compare the first half with the reversed second half to check for a palindrome.
based on 2 reviews
Rating in categories
TCS
Accenture
Wipro
Cognizant