i
Infosys
Filter interviews by
I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.
Use list comprehension to flatten a nested list into a flat list.
Use list comprehension to iterate through the nested list and flatten it.
Check if each element is a list, if so, iterate through it as well.
Example: nested_list = [[1, 2, 3], [4, 5], [6], [7, 8, 9]]
Flat list: flat_list = [item for sublist in nested_list for item in sublist]
Dictionary
Dic={"name":"sonali","rollno":132,"address":"Mira nagar"}
print(dic)
String
Str="India is country"
print(Str)
Html
Python
Spring framework
Hibernate framework
C++
Gui
Servlet
Session
Cookie
Python tuple
The tuple are denoted by round bracket ()
Tup=(1,2,3,4)
print (Tup)
Set
Seobj={10,20,30,40,50}
print (Seobj)
Python Features
Simple
High level language
Platform independent
Portable and scalable
Interpreter
Embedded
Gui
Huge Library
Scripting language
Procedure object oriented
A=12
B=10
C=A+B
print (C)
Gui
Graphical user interface
Web application
Website development
Designing
SQL database
MySQL database
Widget
I use Git for version control in my projects.
I create a Git repository for the project
I commit changes regularly with descriptive messages
I use branches for new features or bug fixes
I merge branches back into the main branch when ready
I use tags to mark important milestones or releases
Infosys interview questions for designations
I applied via Walk-in and was interviewed in Sep 2021. There were 3 interview rounds.
I applied via Walk-in and was interviewed in Jun 2021. There was 1 interview round.
Heap sort is a comparison-based sorting algorithm that uses a binary heap data structure.
Heap sort works by first building a heap from the input array.
Then it repeatedly extracts the maximum element from the heap, and places it at the end of the sorted array.
The heap is then updated to exclude the extracted element, and the process is repeated until the heap is empty.
Heap sort has a worst-case and average time complexi...
based on 2 interviews
1 Interview rounds
based on 13 reviews
Rating in categories
Bangalore / Bengaluru
5-10 Yrs
Not Disclosed
Technology Analyst
55.4k
salaries
| ₹3 L/yr - ₹11.1 L/yr |
Senior Systems Engineer
51.2k
salaries
| ₹2.5 L/yr - ₹8 L/yr |
System Engineer
31.7k
salaries
| ₹2.5 L/yr - ₹5.6 L/yr |
Technical Lead
31k
salaries
| ₹5.1 L/yr - ₹20 L/yr |
Senior Associate Consultant
28.8k
salaries
| ₹6.2 L/yr - ₹16.9 L/yr |
TCS
Wipro
Cognizant
Accenture