DiDi Interview Questions  

See also
Cisco Interview Questions

Array Questions DiDi

Question 1. Check if Two given Matrices are Identical Problem Statement   Given two matrices, we will write a function to check whether the two matrices are identical or not. That is, if all the elements in the respective positions of the two matrices are the same, then we say that they are identical. Input Format   The first line containing ...

Read more

String Questions DiDi

Question 2. Generate a String With Characters That Have Odd Counts Leetcode Solution Problem Statement   In this problem, we are given a length. We have to generate a string that has all characters an odd number of times. For example, aaaaab is a valid string because count(a)=5 and count(b)=1. But, aaabbc is not a valid string here because count(b)=2 which is an even ...

Read more

Matrix Questions DiDi

Question 3. Check if Two given Matrices are Identical Problem Statement   Given two matrices, we will write a function to check whether the two matrices are identical or not. That is, if all the elements in the respective positions of the two matrices are the same, then we say that they are identical. Input Format   The first line containing ...

Read more

Ads Blocker Image Powered by Code Help Pro
Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Refresh