i
Cognizant
Filter interviews by
Array, LinkedList, and ArrayList are data structures used to store and manipulate collections of elements.
Arrays are fixed in size and can only store elements of the same data type.
LinkedLists are dynamic in size and can store elements of different data types.
ArrayLists are dynamic in size and can only store elements of the same data type.
Arrays have faster access time for elements, while LinkedLists have faster i...
Storage account types refer to the different types of storage accounts available in cloud computing.
There are four types of storage accounts in Azure: General-purpose v1, General-purpose v2, Blob storage, and Premium Block Blob storage.
General-purpose v1 and v2 accounts are used for storing files, queues, tables, and blobs.
Blob storage accounts are used for storing unstructured data like images, videos, and audio ...
Explanation of how sorting and searching complexities are derived.
Sorting and searching algorithms have different complexities depending on the algorithm used.
Sorting algorithms can be classified as O(n^2) or O(n log n) depending on the algorithm used.
Searching algorithms can be classified as O(n) or O(log n) depending on the algorithm used.
Complexities are derived by analyzing the number of operations required to...
The port numbers for Windows and Linux VMs depend on the specific application or service being used.
Port numbers can vary depending on the specific application or service being used on the VMs.
Common port numbers for Windows VMs include 3389 for Remote Desktop Protocol and 445 for SMB file sharing.
Common port numbers for Linux VMs include 22 for SSH and 80 for HTTP.
It is important to ensure that the necessary port...
What people are saying about Cognizant
Calculate the Nth term in the Fibonacci sequence, where the sequence is defined as follows: F(n) = F(n-1) + F(n-2)
, with initial conditions F(1) = F(2) = 1
.
...
Calculate the Nth Fibonacci number efficiently using dynamic programming.
Use dynamic programming to store previously calculated Fibonacci numbers to avoid redundant calculations.
Start with base cases F(1) and F(2) as 1, then iteratively calculate F(n) using F(n-1) and F(n-2).
Ensure the input N is within the constraints 1 <= N <= 10000.
Return the Nth Fibonacci number as the output.
Given an integer 'N', continue summing its digits until the result is a single-digit number. Your task is to determine the final value of 'N' after applying this operation i...
Given an integer 'N', find the final single-digit value by summing its digits iteratively.
Iteratively sum the digits of the given integer until the result is a single-digit number
Output the final single-digit integer for each test case
Follow the constraints provided in the problem statement
Given an integer N
, determine whether its binary representation is a palindrome.
The first line contains an integer 'T' representing the number of test cases.
The next 'T' ...
Implement a function to determine if the binary representation of a given integer is a palindrome.
Convert the integer to binary representation
Check if the binary representation is a palindrome by comparing it with its reverse
Return true if it is a palindrome, false otherwise
Indexes in SQL are data structures that improve the speed of data retrieval operations on a database table.
Indexes are created on columns in a table to quickly retrieve rows based on the values in those columns.
They can be unique, allowing only unique values to be stored in the indexed column.
Examples of indexes include primary keys, which uniquely identify each row in a table, and foreign keys, which establish re...
Given a string, your task is to determine if it is a palindrome considering only alphanumeric characters.
The input is a single string without any leading or trailing ...
A program to determine if a given string is a palindrome considering only alphanumeric characters.
Remove non-alphanumeric characters from the input string.
Compare the string with its reverse to check for palindrome.
Return true if the string is a palindrome, false otherwise.
I applied via Campus Placement and was interviewed before Sep 2023. There were 2 interview rounds.
Two codes will be given oncampus recruitment.
I applied via Campus Placement and was interviewed before Apr 2023. There were 2 interview rounds.
Quant, reasoning, coading
One new technology I know about is blockchain, a decentralized and secure way to store and transfer data.
Blockchain is a distributed ledger technology that securely records transactions across multiple computers.
It is most commonly known for being the technology behind cryptocurrencies like Bitcoin.
Blockchain has applications beyond finance, such as supply chain management, voting systems, and healthcare records.
Smart ...
I applied via Campus Placement and was interviewed before Jun 2022. There were 4 interview rounds.
Exam level easy to moderate
Just communication round it was without elimination
I applied via Referral and was interviewed before Feb 2022. There were 4 interview rounds.
I applied via LinkedIn and was interviewed in Jun 2021. There were 4 interview rounds.
I appeared for an interview in Dec 2020.
Round duration - 180 minutes
Round difficulty - Hard
First round having five section.Quantitative Aptitude, Logical Reasoning, Verbal Ability, Automata Fix (7 questions) and essay writing (1 essay 20 mins). One coding question was also asked.
Calculate the Nth term in the Fibonacci sequence, where the sequence is defined as follows: F(n) = F(n-1) + F(n-2)
, with initial conditions F(1) = F(2) = 1
.
Calculate the Nth Fibonacci number efficiently using dynamic programming.
Use dynamic programming to store previously calculated Fibonacci numbers to avoid redundant calculations.
Start with base cases F(1) and F(2) as 1, then iteratively calculate F(n) using F(n-1) and F(n-2).
Ensure the input N is within the constraints 1 <= N <= 10000.
Return the Nth Fibonacci number as the output.
Round duration - 40 minutes
Round difficulty - Hard
This is (Technical + HR) round. They asked various questions from Electronics (15-20), Python (3-4), Cloud Computing (2), Aptitude problems (5-7), and projects.
Tip 1 : Practice as much as you can.
Tip 2 : Do atleast 1 minor and 1 major projects.
Tip 3 : Whatever programming language you have mentioned in your resume, try to use the same language in your projects.
Tip 4 : Coding Ninjas is the best option for preparation.
Tip 1 : Mention all internships which you have done.
Tip 2 : Add only those skills which you are pretty confident.
I applied via Job Fair and was interviewed before Aug 2021. There were 2 interview rounds.
Its an easy test just for qualify you need to score 65% or more
A simple Python program can perform basic tasks like calculations, data manipulation, or file handling.
Use 'print()' to display output. Example: print('Hello, World!')
Define functions with 'def'. Example: def add(a, b): return a + b
Utilize lists for data storage. Example: my_list = [1, 2, 3]
Implement loops for iteration. Example: for i in range(5): print(i)
Use conditionals for decision-making. Example: if a > b: pri...
For loop is used for iterating over a sequence while while loop is used for executing a block of code repeatedly.
For loop is used when the number of iterations is known beforehand
While loop is used when the number of iterations is not known beforehand
For loop is faster than while loop for iterating over a sequence
While loop is useful for creating an infinite loop until a certain condition is met
Array, LinkedList, and ArrayList are data structures used to store and manipulate collections of elements.
Arrays are fixed in size and can only store elements of the same data type.
LinkedLists are dynamic in size and can store elements of different data types.
ArrayLists are dynamic in size and can only store elements of the same data type.
Arrays have faster access time for elements, while LinkedLists have faster insert...
Storage account types refer to the different types of storage accounts available in cloud computing.
There are four types of storage accounts in Azure: General-purpose v1, General-purpose v2, Blob storage, and Premium Block Blob storage.
General-purpose v1 and v2 accounts are used for storing files, queues, tables, and blobs.
Blob storage accounts are used for storing unstructured data like images, videos, and audio files...
The port numbers for Windows and Linux VMs depend on the specific application or service being used.
Port numbers can vary depending on the specific application or service being used on the VMs.
Common port numbers for Windows VMs include 3389 for Remote Desktop Protocol and 445 for SMB file sharing.
Common port numbers for Linux VMs include 22 for SSH and 80 for HTTP.
It is important to ensure that the necessary ports are...
based on 4 interview experiences
Difficulty level
Duration
based on 213 reviews
Rating in categories
Associate
73.1k
salaries
| ₹5.3 L/yr - ₹12.5 L/yr |
Programmer Analyst
56.1k
salaries
| ₹3.5 L/yr - ₹7.3 L/yr |
Senior Associate
52.9k
salaries
| ₹10.5 L/yr - ₹23.4 L/yr |
Senior Processing Executive
29.8k
salaries
| ₹2.2 L/yr - ₹6.5 L/yr |
Technical Lead
19k
salaries
| ₹6 L/yr - ₹21.3 L/yr |
TCS
Infosys
Wipro
Accenture