Sequence of similar elements:
- stored in contiguous location
- reached through index number
Note: Size of array can be found in C++ using
int size = sizeof(array)/sizeof(array[0]);
An important code on combinations as asked in companies like:
- eLitmus
- jusPay
- Amazon Prime
The companies might provide a time upto 35 minutes to find an optimized solution.
The link of this problem can be found here.
- 523
- 55
- Coding sheet no. 14 to 18