Coding Ninjas interview experience Real time questions & tips from candidates to crack your interview

Teaching Assistant

Coding Ninjas
upvote
share-icon
1 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Recursion, Linked List, Binary Search Tree, Dynamic Programming, Stacks and Queues
Tip
Tip

Tip 1 : Make notes of imp topic that you studied for revision purposes.
Tip 2 : Solve questions topic that you studied from coding platforms and give tests.

Application process
Where: Linkedin
Resume Tip
Resume tip

Tip 1 : Single page not more than that. 
Tip 2 : Attach the link to various coding competitions in that you have participated.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration180 minutes
Interview date21 Aug 2021
Coding problem2

1. Palindrome Linked List

Easy
20m average time
90% success
0/40
Asked in companies
CiscoMicrosoftAmazon

You are given a singly Linked List of integers. Your task is to return true if the given singly linked list is a palindrome otherwise returns false.

For example:
The given linked list is 1 -> 2 -> 3 -> 2-> 1-> NULL.

It is a palindrome linked list because the given linked list has the same order of elements when traversed forwards and backward​.
Follow Up:
Can you solve the problem in O(N) time complexity and O(1) space complexity iteratively?
Problem approach

Check the linked list is palindrome or not by using simple palindrome method

Try solving now

2. Trapping Rain Water

Moderate
15m average time
80% success
0/80
Asked in companies
Paytm (One97 Communications Limited)MyntraPaytm (One97 Communications Limited)

You have been given a long type array/list 'arr’ of size 'n’.


It represents an elevation map wherein 'arr[i]’ denotes the elevation of the 'ith' bar.



Note :
The width of each bar is the same and is equal to 1.
Example:
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].

Output: 10

Explanation: Refer to the image for better comprehension:

Alt Text

Note :
You don't need to print anything. It has already been taken care of. Just implement the given function.
Try solving now

Here's your problem of the day

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

Skill covered: Programming

Which keyword is used for inheritance?

Choose another skill to practice
Similar interview experiences
company logo
Teaching Assistant
1 rounds | 1 problems
Interviewed by Coding Ninjas
678 views
0 comments
0 upvotes
company logo
Teaching Assistant
1 rounds | 2 problems
Interviewed by Coding Ninjas
907 views
0 comments
0 upvotes
company logo
Problem Setter Intern
3 rounds | 4 problems
Interviewed by Coding Ninjas
563 views
0 comments
0 upvotes
company logo
Teaching Assistant
1 rounds | 2 problems
Interviewed by Coding Ninjas
721 views
0 comments
0 upvotes