Credit Suisse interview experience Real time questions & tips from candidates to crack your interview

ENO

Credit Suisse
upvote
share-icon
3 rounds | 10 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Java, NET, Android, DSA, Aptitude, OOPS, System Design
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Campus
Eligibility: Aggregate above 75%
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Face to Face
Duration60 minutes
Interview date4 Jul 2015
Coding problem5

This was a technical round with questions on puzzle, programming and Java OOPS based.

Moderate
25m average time
70% success
0/80
Asked in companies
CIS - Cyber InfrastructureInfosysDell Technologies

Ninja is given a pattern. Now he is asked to print the same pattern for any given ‘N’ number of rows.

Note:

There is only one space between the values of each column in a row.

For example, Pattern for ‘N’ = 5 will be.
1 2 3 4 5 
11 12 13 14 15 
21 22 23 24 25 
16 17 18 19 20 
6 7 8 9 10 
Problem approach

printPattern()
{

declare variables i,j,k,sp
initialise space to 4 

for (i = 1 to i<=5) do : 
{

// For printing the space
for (sp = space to sp >= 1) do : 
{
print space 
}

// For printing the $
for (j=1 to j<=i) do : 
{
print '$'
}

for (k = 1 to k=1) do : 
{
for (sp = space to sp >= 1) do :
{
print space 
}

for (j=1 to j<=i) do : 
{
print '$'
}

for (k = 1 to k < i) do : 
{
print '$'
}

space++;
print new line
}

reset space to 3;

for (i = 2 to i<=5) do : 
{
if (i is odd)
{
for (sp = space to sp>=1) do : 
{
print space 
}

for (j=1 to j<=i) do : 
{
print '$'
}
}

if (i is odd)
{
print new line
space--;
}
}

}

Try solving now

2. Puzzle

There are three boxes, one contains only apples, one contains only oranges, and one contains both apples and oranges. The boxes have been incorrectly labeled such that no label identifies the actual contents of the box it labels. Opening just one box, and without looking in the box, you take out one piece of fruit. By looking at the fruit, how can you immediately label all of the boxes correctly?

Problem approach

Open the box that is labeled "Apples and Oranges".
You know that since none of the labels are correct, the box must either contain only apples, or only oranges.
Suppose that you remove an apple from that box. Therefore, that box is the "Apples Only" box. (If, in fact, you removed an orange from the box, you can swap “Apples” and “Oranges” for the rest of the description; the same reasoning applies).
One of the two remaining boxes must be the "Oranges Only" box. The remaining two boxes are labeled "Apples Only" and "Oranges Only". Since the labels cannot match, the “Oranges Only” label cannot have “Orange Only” contents.
Therefore, the one labeled "Apples Only" is the box that contains only oranges, and the box labeled "Oranges Only" is the box that has both kinds of fruit.

3. Java Question

What is an abstract class?

Problem approach

A class which is declared as abstract is known as an abstract class. It can have abstract and non-abstract methods. It needs to be extended and its method implemented. It cannot be instantiated.
An abstract class must be declared with an abstract keyword.
It can have abstract and non-abstract methods.
It cannot be instantiated.
It can have constructors and static methods also.
It can have final methods which will force the subclass not to change the body of the method.

4. Java Question

What is a final class?

Problem approach

A class that is declared with the final keyword is known as the final class. A final class can’t be inherited by subclasses. By use of the final class, we can restrict the inheritance of class. We can create a class as a final class only if it is complete in nature it means it must not be an abstract class. In java, all the wrapper classes are final class like String, Integer, etc.
If we try to inherit a final class, then the compiler throws an error at compilation time. We can’t create a class as immutable without the final class.

5. Java Question

Difference between static and non-static method

Problem approach

1. A static method is a method that belongs to a class, but it does not belong to an instance of that class and this method can be called without the instance or object of that class. Every method in java defaults to a non-static method without a static keyword preceding it. non-static methods can access any static method and static variable also, without using the object of the class.
2. Accessing members and methods : In the static method, the method can only access only static data members and static methods of another class or same class but cannot access non-static methods and variables. In the non-static method, the method can access static data members and static methods as well as non-static members and methods of another class or same class. 
3. Binding process : The static method uses compile-time or early binding. The non-static method uses runtime or dynamic binding.
4. Overriding : The static method cannot be overridden because of early binding. The non-static method can be overridden because of runtime binding.

02
Round
Easy
Face to Face
Duration60 minutes
Interview date4 Jul 2015
Coding problem4

This was the best round! The director took my interview. It eventually got converted into a technical round.

1. Technical Question

Write a program to connect to a backend or database(SQL server) using C#.

Problem approach

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DemoApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
string connetionString;
SqlConnection cnn;
connetionString = @"Data Source=WIN-50GP30FGO75;Initial Catalog=Demodb;User ID=sa;Password=demol23";
cnn = new SqlConnection(connetionString);
cnn.Open();
MessageBox.Show("Connection Open !");
cnn.Close();
}
}
}

2. Technical Question

Advantages of WCF Service

Problem approach

1. WCF provides better reliability and security compared to ASMX Web services.
2. In WCF, there is no need to make much of a change to code to use the security model and alter the binding.
3. Small changes in the configuration file will match your requirements.
4. WCF provides interoperability between services.

3. Android Question

What is an APK File?

Problem approach

APK stands for Android Package (sometimes Android Package Kit or Android Application Package). It's the file format that Android uses to distribute and install apps. As a result, APKs contain all the elements that an app needs to install correctly on your device.
An APK is an archive file, meaning that it contains multiple files, plus some metadata about them. You're probably familiar with other types of archive files, like ZIP and RAR.

4. Android Question

What is API Level?

Problem approach

API level is basically the Android version. Instead of using the Android version name (eg 2.0, 2.3, 3.0, etc) an integer number is used. This number is increased with each version. Android 1.6 is API Level 4, Android 2.0 is API Level 5, Android 2.0.1 is API Level 6, and so on.

03
Round
Easy
HR Round
Duration30 minutes
Interview date4 Jul 2015
Coding problem1

HR round with typical behavioral problems.

1. Basic HR Questions

1. He asked me about my family.
2. He asked whether I have any post graduation plans.
3. He also asked something related to Credit Suisse and the pre-placement talk.

Problem approach

Tip 1 : Be sure to do your homework on the organization and its culture before the interview.
Tip 2 : Employers want to understand how you use your time and energy to stay productive and efficient. Be sure to emphasize that you adhere to deadlines and take them seriously.
Tip 3 : Talk about a relevant incident that made you keen on the profession you are pursuing and follow up by discussing your education.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

Which SQL keyword removes duplicate records from a result set?

Choose another skill to practice
Similar interview experiences
ENO
3 rounds | 7 problems
Interviewed by Credit Suisse
507 views
0 comments
0 upvotes
ENO
3 rounds | 7 problems
Interviewed by Credit Suisse
420 views
0 comments
0 upvotes
ENO
3 rounds | 3 problems
Interviewed by Credit Suisse
527 views
0 comments
0 upvotes
ENO
4 rounds | 4 problems
Interviewed by Credit Suisse
670 views
0 comments
0 upvotes