Skip to content

This repository contains solutions to coding challenges from websites like Hackerrank, Coderbyte, etc.

Notifications You must be signed in to change notification settings

AnoshaRehan/Coding-Challenges

Repository files navigation

This repository contains coding solutions from online coding challenges. The coding problems solved so far are as follows:

  • Seating-Students-Coderbyte: This is a medium level question from Coderbyte.
  • Dam-Design-Hackerrank: This is a medium level question from Hackerrank.
  • Minimum-Difference-Hackerrank: A function accepts an array and returns the sum of absolute minimum difference of the array.
  • HTML-Elements-Coderbyte: This is a medium level question from Coderbyte and is about balancing HTML DOM Elements provided as a string.
  • Letter-Count-Coderbyte: The function LetterCountI takes the str parameter being passed and return the first word with the greatest number of repeated letters.
  • Command-Line-Coderbyte: The function CommandLine takes the str parameter being passed which represents the parameters given to a command in an old PDP system.
  • Stock-Picker-Coderbyte: The function StockPicer takes the arr parameter which will contain integers that represent the amount in dollars that a single stock is worth, and return the maximum profit that could have been made by buying stock.
  • Array-Addition-Coderbyte: The function ArrayAdditionI accepts an interger array and returns true if a summation of any elements in the array equal to the largest value in the array or false when no combination of elements equals the largest element.
  • Mutating-Array-CodeSignal
  • Dom-Tree-Codility: You are given a DOM tree and have to find the table with the largest number of cells within it.

Questions are provided in the respective program files. Contribution/Optimized solutions will be appreciated