Skip to content

thucdx/viettel_code_challenges_2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solution for all problems in Viettel Code Challenge 2022.

All solutions get 100 scores

Link for contest: https://www.hackerrank.com/contests/viettel-code-challenge-2022-bang-a/challenges

Leaderboard

Leaderboard (mine is thucdx31)

Algorithm

  • A: Two Pointers or just for :-)
  • B: Sorting
  • C: DP: time_finish[task_a] = cost[task_a] + max(time_finish[task_i]) for all task_i that task_a depends on.
  • D: Brute force + BFS. Don't use DFS because it will cause stack overflow
  • E: Recursion + Bit manipulation to represent state of board

About

Solution for Viettel Code Challenges 2022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages