An open API service indexing awesome lists of open source software.

https://github.com/arsho/hackerrank_c_domain_solutions

Solutions of challenges of Hackerrank C domain challenges
https://github.com/arsho/hackerrank_c_domain_solutions

hackerrank hackerrank-c hackerrank-c-solutions hackerrank-challenges hackerrank-solutions

Last synced: 12 months ago
JSON representation

Solutions of challenges of Hackerrank C domain challenges

Awesome Lists containing this project

README

          

# Hackerrank C Domain Solutions

Solutions of Hackerrank C Domain Challenges. It may give you a head start if you are stuck in any challenges.

![alt Hackerrank C Domain Solutions](/screenshots/hackerrank_c_domain.png?style=center)

## Solutions Listed by Category (23/25):

- [Introduction](introduction)
- ["Hello World!" in C](introduction/hello_world_in_c_arsho.c)
- [Playing With Characters](introduction/playing_with_characters_arsho.c)
- [Sum and Difference of Two Numbers](introduction/sum_and_difference_of_two_numbers_arsho.c)
- [Functions in C](introduction/functions_in_c_arsho.c)
- [Pointers in C](introduction/pointers_in_c_arsho.c)
- [Conditionals and Loops](conditionals_and_loops)
- [Conditional Statements in C](conditionals_and_loops/conditional_statements_in_c_arsho.c)
- [For Loop in C](conditionals_and_loops/for_loop_in_c_arsho.c)
- [Sum of Digits of a Five Digit Number](conditionals_and_loops/sum_of_digits_of_a_five_digit_number_arsho.c)
- [Bitwise Operators](conditionals_and_loops/bitwise_operators_arsho.c)
- [Printing Pattern using Loops](conditionals_and_loops/printing_pattern_using_loops_arsho.c)
- [Arrays and Strings](arrays_and_strings)
- [1D Arrays in C](arrays_and_strings/d_arrays_in_c_arsho.c)
- [Array Reversal](arrays_and_strings/array_reversal_arsho.c)
- [Printing Tokens](arrays_and_strings/printing_tokens_arsho.c)
- [Digit Frequency](arrays_and_strings/digit_frequency_arsho.c)
- [Dynamic Array in C](arrays_and_strings/dynamic_array_in_c_arsho.c)
- [Functions](functions)
- [Calculate the Nth term](functions/calculate_the_nth_term_arsho.c)
- [Students Marks Sum](functions/students_marks_sum_arsho.c)
- [Sorting Array of Strings](functions/sorting_array_of_strings_arsho.c)
- [Permutations of Strings](functions/permutations_of_strings_arsho.c)
- [Variadic functions in C](functions/variadic_functions_in_c_arsho.c)
- [Querying the Document](functions/querying_the_document_arsho.c)
- [Structs and Enums](structs_and_enums)
- [Boxes through a Tunnel](structs_and_enums/boxes_through_a_tunnel_arsho.c)
- [Small Triangles, Large Triangles](structs_and_enums/small_triangles_large_triangles_arsho.c)

### Unsolved Challenges (2/25):

- [Structs and Enums](structs_and_enums)
- [Post Transition](structs_and_enums/post_transition_arsho.c)
- [Structuring the Document](structs_and_enums/structuring_the_document_arsho.c)

### Utility Program to Generate Blank Solution Files (Optional)

- I have written a utility program [(solution_file_generator.py)](utils/solution_file_generator.py) that can be used to generate blank solution files for all challenges listed in [challenges.json](utils/challenges.json) file. This utility program is written using Python 3.
- Change the `USERNAME = "arsho"` to your own username in the utility program.

## Issue

Please [open an issue](https://github.com/arsho/Hackerrank_C_Domain_Solutions/issues/new) if you find any issue or want to give any feedback.

## Contributing

Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/arsho/Hackerrank_C_Domain_Solutions/compare/).

### Reference

- [Hackerrank C Domain Challenges](https://www.hackerrank.com/domains/c)
- [Hackerrank profile](https://www.hackerrank.com/arsho)