Get 100% scholarship and clear FAANG Interviews | Use code “striver” for 50% off on test fee
Skip to content

takeUforward

~ Strive for Excellence

  • Striver’s SDE Sheet
  • SDE Core Sheet
  • Interview Experience
  • Data Structure
  • Advertise with us
  • Join takeUforward

Category: Sorting

May 1, 2022 Arrays / Data Structure / Sorting

Bucket Sort : Detailed Explanation

Introduction You would wonder, why we need bucket sort even though we have sorting algorithms that work in O(nlogn). Bucket

Continue reading
March 27, 2022 Arrays / Data Structure / Sorting

Kth largest/smallest element in an array

Problem Statement: Given an unsorted array, print Kth Largest and Smallest Element from an unsorted array. Examples: Example 1: Input:

Continue reading
March 27, 2022 Arrays / Data Structure / Sorting

Radix Sort : Explained

Introduction Radix sort is a non-comparison-based stable algorithm that uses counting sort with a little modification to sort the numbers

Continue reading
March 13, 2022 Arrays / C programs / Data Structure / Sorting

Selection Sort in C

Problem Statement: Given an array of N integers, write a program to implement the Selection sorting algorithm. Examples: Example 1: Input: N

Continue reading
March 13, 2022 Arrays / C programs / Data Structure / Sorting

Insertion Sort in C

Problem Statement: Given an array of N integers, write a program to implement the Insertion sorting algorithm. Examples: Example 1: Input: N

Continue reading
March 13, 2022 Arrays / C programs / Data Structure / Sorting

Bubble Sort in C

Problem Statement: Given an array of N integers, write a program to implement the Bubble Sorting algorithm. Examples: Example 1: Input: N

Continue reading
February 20, 2022 Arrays / Binary search / Data Structure / Sorting

Operations on Arrays

What is an array? An array is a data structure that stores homogeneous/same data type values in it, and the

Continue reading
January 5, 2022 Arrays / Data Structure / Sorting

Merge Sort Algorithm

Problem:  Given an array of size n, sort the array using Merge Sort. Examples: Example 1: Input: N=5, arr[]={4,2,1,6,7} Output:

Continue reading
January 5, 2022 Arrays / Data Structure / Sorting

Insertion Sort Algorithm

Problem Statement: Given an array of N integers, write a program to implement the Insertion sorting algorithm. Examples: Example 1: Input:

Continue reading
January 4, 2022 Sorting

Selection Sort Algorithm

Problem Statement: Given an array of N integers, write a program to implement the Selection sorting algorithm. Examples: Example 1: Input:

Continue reading

Posts navigation

1 2 Next Posts»

Subscribe

I want to receive latest posts and interview tips
Loading

Recent Posts

  • Break and Continue in Python
  • Java JDK, JRE, and JVM
  • Define gateway, the difference between gateway and router
  • Significance of Data Link Layer
  • Difference between IPv4 and IPv6

Accolite Digital Amazon Arcesium Bank of America Barclays BFS Binary Search Binary Search Tree Commvault CPP DE Shaw DFS DSA Self Paced google HackerEarth infosys inorder Java Juspay Kreeti Technologies Morgan Stanley Newfold Digital Oracle post order pre-order queue recursion Samsung SDE Core Sheet SDE Sheet Searching set-bits sorting sub-array subarray Swiggy takeuforward TCQ NINJA TCS TCS CODEVITA TCS DIGITA; TCS Ninja TCS NQT VMware XOR

Copyright © 2022 takeuforward | All rights reserved