Huawei Company Programming Program

i faced technical round-2
write programs
1.Factorial Using recurrsion
2.integer array make reverse with out using Temporary/additional array
3.oops supported concept with one example
4.print the numbers below format
1
1 2
1 2 3
1 2 3 4

5.print the below format using two array
1 2 3 4
2 3 4 5
3 4 5 6
4 5 6 7
==>L.R:1 3 5 7
==>R.L:4 4 4 4
6.Bubble sort
insert sort in below format
{4,2,9,6,23,12,34,0,1}

Read Solution (Total 4)

Huawei Other Question

Q. A Ball is dropped from 8 m height.it rebounds to half the height when it hits the ground. What is the distance travelled by the ball before it hits the ground? main()
{
printf(3+"Huawei");
}

o/p: wei