Find Nth term of the series 1, 5, 32, 288 ...
Given a number n, the task is to find the n-th term in series 1, 5, 32, 288 ... Examples: Input: N = 3Output: 32Explanation:3rd term = 3^3 + 2^2 + 1^1...Read More
Given a number n, the task is to find the n-th term in series 1, 5, 32, 288 ... Examples: Input: N = 3Output: 32Explanation:3rd term = 3^3 + 2^2 + 1^1...Read More
Round 1: Online coding test - 90 minutes (HackerEarth) It had 2 coding questions and 20 MCQs. Knapsack variation(you can choose an item any number of...Read More
Recently I am interviewed for Amazon SDE-1 position for Bangalore. There are 3 F2F rounds followed by a telephonic round. As it was a drive, they aske...Read More
About The Contest: The Contest was organized on 18 June 2023 on Codeforces. The Contest consisted of 6 problems for Div. 1 and Div. 2 participants and...Read More
Consider the following grammar G: S → bS | aA | b A → bA | aB B → bB | aS | a Let Na(w) and Nb(w) denote the number of a's and b's in a string w respe...Read More
We are given 9 tasks T1, T2.... T9. The execution of each task requires one unit of time. We can execute one task at a time. Each task Ti has a profit...Read More
In the following C program fragment, j, k n and TwoLog_n are integer variables, and A is an array of integers. The variable n is initialized to an int...Read More
ABOUT THE CONTEST: This Codeforce CF Round was conducted on 11 Jul 2023 by codeforces #884 for ( Div1 + Div 2 ) Participants.In this Contest, there ar...Read More
Q84 Part_A A sink in a directed graph is a vertex i such that there is an edge from every vertex j ≠ i to i and there is no edge from i to any other v...Read More
Suppose that the maximum transmit window size for a TCP connection is 12000 bytes. Each packet consists of 2000 bytes. At some point of time, the conn...Read More