15 Questions that will cover everything in arrays
15 Questions that will cover everything in arrays
Arrays are a simple data structure for storing lots of similar items. They exist in all programming languages and are used as the basis for most other data structures. On their own, Arrays can be used to solve many interesting problems. Arrays come up very often in interview problems, and so being a guru with them is a must!
Questions are:
01. Max Consecutive Ones
02. Numbers with Even Number of Digits
03. Squares of a Sorted Array
04. Duplicate Zeros
05. Merge Sorted Array
06. Remove Element
07. Remove Duplicates from Sorted Array
08. Check If N and Its Double Exist
09. Valid Mountain Array
10. Replace Elements with Greatest Element on Right Side
11. Move Zeroes
12. Sort Array By Parity
13. Height Checker
14. Third Maximum Number
15. Find All Numbers Disappeared in an Array
No comments:
For Query and doubts!