Skip to content

CSGEEKSHUB

  • Home
  • C Programming
  • HackerRank Programs
  • Leetcode

80. Remove Duplicates from Sorted Array II

Given an integer array of nums sorted in non-decreasing order, remove some duplicates in-place such that each unique element appears …

Read more

Categories Leetcode

Remove Duplicates from Sorted Array

In this tutorial, we will write a simple c program to remove duplicate elements from a sorted array. In order …

Read more

Categories Leetcode

Lonely Integer: Given an array of integers, where all elements but one occur twice, find the unique element.

Link to the original problem: Here

Categories HackerRank Programs

Sparse Arrays

There is a collection of input strings and a collection of query strings. For each query string, determine how many …

Read more

Categories HackerRank Programs

Divisible Sum Pairs

Given an array of integers and a positive integer k, determine the number of pairs (i, j) where i<j and ar[i] + …

Read more

Categories HackerRank Programs

Camel Case 4

Camel Case is a naming style common in many programming languages. In Java, method and variable names typically start with …

Read more

Categories HackerRank Programs

Breaking the Records: Finding Max-Min Count in C

Maria plays college basketball and wants to go pro. Each season she maintains a record of her play. She tabulates …

Read more

Categories HackerRank Programs

Time Conversion: Given a time in 12-hour AM/PM format, convert it to 24-hour time

Categories HackerRank Programs

HackerRank: Mini-Max Sum

Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four of the …

Read more

Categories HackerRank Programs

Hacker Rank: Plus Minus

Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero. Print the decimal value of each …

Read more

Categories HackerRank Programs
Older posts
Newer posts
← Previous Page1 … Page4 Page5 Page6 Page7 Next →

Recent Posts

  • Introduction to Linked Lists
  • Linked List Node Insertion a Node at nth Position
  • Linked Lists vs Arrays
  • LeetCode Minimum Moves to Reach Target Score Solution
  • Pointers as Function Returns

  • Privacy Policy
  • Terms
  • Contact
© 2023 CSGEEKSHUB • Built with GeneratePress