Skip to content

CSGEEKSHUB

  • Home
  • C Programming
  • HackerRank Programs
  • Leetcode

HackerRank Programs

HackerRank Picking Numbers Solution in C

Given an array of integers, find the greatest subarray where the absolute difference between any two elements is less than …

Read more

Categories HackerRank Programs

HackerRank: Drawing Book Solution in C

A teacher asks the class to open their books to a page number. A student can either start turning pages …

Read more

Categories HackerRank Programs

HackerRank: Zig Zag Sequence

Given an array of distinct integers, transform the array into a zig zag sequence by permuting the array elements. A …

Read more

Categories HackerRank Programs

HackerRank: Maximum Perimeter Triangle Program in C++

Given an array of stick lengths, use 3 of them to construct a non-degenerate triangle with the maximum possible perimeter. Return an array of …

Read more

Categories HackerRank Programs

HackerRank: Migratory Birds Solution in C

Given an array of bird sightings where every element represents a bird type id, determine the id of the most …

Read more

Categories HackerRank Programs

HackerRank: Sales by Match

There is a large pile of socks that must be paired by color. Given an array of integers representing the …

Read more

Categories HackerRank Programs

HackerRank: find the XOR of the two strings

Given two strings consisting of digits 0 and 1 only, find the XOR of the two strings.

Categories HackerRank Programs

HackerRank: Subarray Division 2 C Program

Subarray Division 2 HackerRank solution in C: Two children, Lily and Ron, want to share a chocolate bar. Each of …

Read more

Categories HackerRank Programs

HackerRank: Permuting Two Arrays Program in C

There are two n-element arrays of integers, A and B. Permute them into some A’ and B’ such that the …

Read more

Categories HackerRank Programs

HackerRank: Mars Exploration Solution in C

A space explorer’s ship crashed on Mars! They send a series of SOS messages to Earth for help. NASA_Mars_Rover.jpg Letters …

Read more

Categories HackerRank Programs
Older posts
Page1 Page2 Page3 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