Skip to main content

Charegbee - Online Test

Date of visit: 16.8.2018
Criteria: CGPA 7 above
Platform: Hackerearth
Duration: 2 hrs

This round had two programming questions for 30 marks

1) 20 mark Question

Input 

10

2 4 8 3 9 2 4 8 4 5

Output

Seq: 2,4,8 Occurrence: 2

Seq:3,9 Occurrence: 1

Problem Explanation

From the given integer array we have to count the sequence which is in increasing power series that is from the [2,4,8,3,9,2,4,8,4,5] array, 2,4,8 is the increasing power series of 2 and 3,9 is the increasing power series of 3 and also we have to consider the count of each and every sequence so that 2,4,8 series occurred 2 times where as 3,9 occurred 1 times ,so this is the output of the problem

Input Explanation

First line is the array size

Second line is the array elements

2) 10 Mark Question

Input


Input Explanation

First line defines the order of matrix (N)

N line defines an elements of a matrix

Problem Explanation

For the given input value the matrix pattern should be follow as above by that for input values 3  and 5 the matrix pattern shown in figure.If the matrix follows the pattern should print "true" else "false".

Output

true

true

Note: Duration of this round was extended with another 45 min by the organizational people.

Comments

Popular posts from this blog

Sahaj - Online Test and Coding Round

Date of visit : 29/08/2018 Criteria        :  7.5 above First Round Duration : 40 minutes. The first round was a online test that had 50 multiple choice questions. The questions were very standard and covered everything like java, C, C++, Python, CSS, DBMS, OOPs, Networks, OS etc. After the first round 20 people were shortlisted for the second round. Second round Duration : 45 minutes  The second round was a coding round where we were given only one question. The objective of the round was not only to check whether the logic and code was correct but whether the students have used paradigms of the programming language they chose. for example, if we choose java to write our code we must have used OOPs principles. The question was to encode the given string in a format specified. Input : this is a secret procedure : 1. remove the spaces, s = thisisasecret 2. find the length of s, l  = 13 3. find w which is the ceil of sqrt of l,...

Thorogood Associates - online test and Interview experience

Date of Visit : 18.08.2018 Criteria: CGPA 7.5 above, No current arrear First Round Duration: 1 hr This is an online round which had two parts,one is about essay writing,other one is about aptitude. Essay Writing Part had two questions,out of these 2 questions we have to write an essay on any one of the topic within 15 minutes. Question: What do you know about Thorogood and what will you do in your first year of Thorogood? Aptitude Part covered Data Interpretation,Logical Reasoning,Profit-Loss problem and other basics aptitude topics which are in R.S Agarwal Book ( link ) or else in IndiaBix ( link ) and this part lasted for next 45 minutes. Second Round Duration: 30 Minutes In this round,our communication,presentation skills and confidence level were tested. They asked us to explain any one of the projects that we mentioned in our resume. They checked whether we can present the project that we did in a professional way.

Ninjacart - coding round

Platform: Hackerrank     The challenge comprised of three questions which were based on arrays and strings .. It may seem easy but the problems were little tricky to solve.. If one is strong enuf in those concepts, then solving them becomes piece of cake😋. I listed two problems(I ve forgot the third one) asked below: Question 1: Buy stocks .. problem link Question 2: Find the number of smooth pairs problem link