Skip to main content

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

Comments

  1. Fair Game Night - Borgata Casino Resort
    Fair Game 인카지노 Night is a fun and entertaining show which was created and run by deccasino Atlantic City-based sports betting company 카지노 Fair Game Night. The show's hosts and

    ReplyDelete

Post a Comment

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, w = 4 4. separate s using w, s=

Accolite Online Test and Interview Experience

Date of Visit : 11.08.2018 Criteria : 6.0 and above (No Current Arrear) ROUND 1 Duration : 1 hr This round composed of both written and online test Each one happened for 30 Minutes consecutively without any filtration. There is no negative grading. This is a MCQ type round. Both test covered OS Topics like Job Scheduling,Process,Dead lock detection and avoidance algorithm,semaphore,Output for C programs , Network Topics from sub net mask problems,TCP header information,Purpose of Time To Live (TTL), DBMS queries from natural join,left join,join, Age Problems,Data structure 1. Here are some words translated from an artificial language. migenlasan means cupboard lasanpoen means boardwalk cuopdansa means pullman Which word could mean "walkway"? A.    poenmigen B.    cuopeisel C.    lasandansa D.    poenforc 2. Consider three processes (process id 0, 1, 2 respectively) with compute time bursts 2, 4 and 8 time units. All processes arrive at time ze