Git Product home page Git Product logo

practice_array's Introduction

Beginner_Question

S.no Question Rating
1. Create an Array of size 10 of integers. Take input from the user for these 10 elements and print the entire array after that
2. Check whether n is present in an array of size m or not
3. Find the minimum and maximum element in an array
4. Write a program to reverse the array.
5. Write a program to sort the given array.
6. Find the Kth largest and Kth smallest number in an array
7. Given an number n. Find the number of occurrences of n in the array.
8. Given an array which consists of only 0, 1 and 2. Sort the array without using any sorting algorithm.
9. Find the range of the array. Range means the difference between the maximum and minimum element in the array
10. Move all the negative elements to one side of the array โญ

Intermediate_Problems

S.no Question Rating
1. Find the Union and Intersection of the two sorted arrays.
2. Write a program to cyclically rotate an array by one.
3. You are given a list of n-1 integers and these integers are in the range of 1 to n. There are no duplicates in the list. One of the integers is missing in the list. Write an efficient code to find the missing integer.
4. Find all pairs on integer array whose sum is equal to given number
5. Find the Duplicate in an Array
6. Sort an Array using Quicksort algorithm.
7. Find the first repeating element in an array of integers
8. Find common elements in three sorted arrays
9. Find the first repeating element in an array of integers
10. Given an array with all distinct elements, find the largest three elements. Expected time complexity is O(n) and extra space is O(1)
11. Rearrange the array in alternating positive and negative items with O(1) extra space
12.

practice_array's People

Contributors

aaryanpal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.