Questions tagged [minmax]

This tag apparently is used as a synonym for "minimax", which seems more appropriate and is better maintained; I would suggest introduction of a tag synonym.

272 questions
-2
votes
1 answer

Minimax Alogrithm for TicTacToe [python]

I'm trying to implement the minimax algorithm in my tic tac toe game. I watched several videos, analysed multiple programs with minimax algorithm and I think I do know how it works now. My program is working but it seems like the algorithm has no…
g_auge19
  • 55
  • 5
-8
votes
3 answers

Fastest (least execution time) approach to get max/min of an array of int without inbuilt functions except range() and len()

I am looking for a faster, less execution time approach to get maximum and minimum elements of an array of integer, which means we need to sort an array of integers. Without using any inbuilt functions like sort() except range() and len() and using…
Waqar Dongre
  • 57
  • 1
  • 6
1 2 3
18
19