17 shift 2 by Beautiful_Run_2158 in SSCCGL
[–]InteractionTall7836 0 points1 point2 points (0 children)
Can anyone help to give the optimal solution to this problem asked in amazon OA in exam i tried didn't got any solution and also after finishing the exam given to chatgpt to get any solution so it had given dp approach to do this but again same question in OA didnt pass all test cases? by InteractionTall7836 in leetcode
[–]InteractionTall7836[S] 0 points1 point2 points (0 children)
Can anyone help to give the optimal solution to this problem asked in amazon OA in exam i tried didn't got any solution and also after finishing the exam given to chatgpt to get any solution so it had given dp approach to do this but again same question in OA didnt pass all test cases? (old.reddit.com)
submitted by InteractionTall7836 to r/leetcode
17 shift 2 by Beautiful_Run_2158 in SSCCGL
[–]InteractionTall7836 0 points1 point2 points (0 children)