Commit History

Autor SHA1 Mensaxe Data
  Abhinav Sinha fe7f319256 fixed balance to use currentNode, and added case for 0 balance of child %!s(int64=8) %!d(string=hai) anos
  Abhinav Sinha 62ff0debc1 fixed deleteMin corner case %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo c2edf694f7 weird issues with basic BST Delete forming incorrect BST tree? %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo 41f9ff42f3 Insert works now. Fixed balance to pick correct rotation %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo 5eb9214993 rightRotate fixed %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo edc46bee83 leftRotate now works %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo 0bedaaae7d fixing thing %!s(int64=8) %!d(string=hai) anos
  Abhinav Sinha fd32ae61ac fixed leftrotate %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo b76c3b2693 changed rightRotate to follow the marginally correct leftRotate's algorithm %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo 45cbabe3c7 rr rotation almost correct though when there are a lot of nodes under the ones being rotated I'm getting a seg fault %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo eb49706b88 Getting segmentation faults at rotations because the code doesn't take into account relationships to the parent nodes. Especially hard to deal with when dealing with the root %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo f1807d93ad somehow the node I'm trying to pass to the rotate functions isn't getting through %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo f758a5e517 balance factor working, height workin, now getting segmentation faults for rotations as well as issues getting to the rotations. %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo c9f3bfa268 fixed the height function and the way I updated height (the whole tree is not updated) working on fixing getBalance which might require a balance_ variable for the nodes and moving where/how the rotations are done %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo 67b97f288c Getting segmentation fault from Delete at the height update which may be because of the DeleteMin function which has an implementation for BST, not AVL %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo 67b05a486b almost finished transferring BST to AVL using geeksforgeeks AVL insert and delete algorithms %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo 6d48bde7d5 switched to taking the BST code and just adding on to it to form the AVLCommands code. %!s(int64=8) %!d(string=hai) anos
  Natalie Pueyo f032310f8e cleaned up AVL stuff but not much else %!s(int64=8) %!d(string=hai) anos