Q1. Print following pattern according to array
Array = [2,6,3,8,-2,11, -4]
Output:
##
######
###
########
##
###########
####
2.From an unsorted array, check whether there are any two numbers that will sum up to a given number?
[6,4,3,2,1,7]
9
3. Merge Sort
4. Binary Search
Questions related to the time complexity
Some puzzles