CodingHuman #Coding_Help , All exam codes, Coding solutions, accenture TCS Wipro Nagarro Persistent Cisco
588 subscribers
136 photos
310 links
We Provide free material, Coding stuff, Placement material, Handwritten Notes, previous year company questions, Job updates and many more.
Conding help.
Download Telegram
โœ๏ธTECH MAHINDRA Interview Exp

1) Self Intro.
2) Project.
3) Qns on Project.
4) Which Programming Language
     you r Familiar with It.
5) What is Primarykey, Foreignkey.
6) Views in SQL.
7) Syntax of View.
8) Rank.
9) External Table.
10) Method Overloading.
11) Method Overriding.
@Coding_human
12) Inheritance.
13) Explain Types of Inheritance
14) Why Multiple Inheritance is not
       Supported.
15) Is Multiple Inheritance.
      Supported injava and wha is it.
16) Relocation.
17) Night Shifts.
18) Why you Choose TechM.
19) About TechM.

@Coding_human
We are going to start and sharing the DSA Important questions with solutions!!! โœ…โœ…โœ…โœ…
Next permutation in c#(Leetcode, Optimal one)

public void NextPermutation(int[] nums) {

int ind = -1;
int n = nums.Length;
@Coding_human
for(int i=n-2; i>=0; i--)
{
if(nums[i]<nums[i+1])
{
ind =i;
break;
}
}
if(ind==-1)
{
Array.Reverse(nums,0,n);
return;
}
for(int i=n-1; i>ind; i--)
{
if(nums[i]>nums[ind])
{
int swap=0;
swap = nums[i];
nums[i]=nums[ind];
nums[ind]=swap;
break;
}
}



Array.Reverse(nums,0+ind+1,nums.Length-1-ind);

@Coding_human
If you have any doubts feel free to leave a comment , we will get back to you.