DEV Community

Cover image for Day 12/366
vishal.codes
vishal.codes

Posted on

Day 12/366

🚀 Today's Learning:

🌟 DSA

  • Insert a node at the end in DLL
  • Delete last node in DLL

🌟 Dev

  • TestFlight

🔍 Some Key Highlights:

DSA

Insert a node at the end in DLL → Move to last node using a pointer tail. Create a new node called newNode. Make its next point to NULL and prev point to tail. Make tail → next point to newNode. Return head.

Image description

Delete last node in DLL → Traverse to last node using tail. Make secondLastTail pointer. Tail→prev = secondLastTail. secondLastTail→next = NULL. Tail→prev=NULL. Delete tail to free memory. Return head. Check for edge cases if list is empty(head == NULL) or just one node to delete(head→next == NULL). Return NULL in these cases.

Image description

DEV

TestFlight is a platform developed by Apple that allows developers to distribute pre-release versions of their iOS, watchOS, and tvOS apps to testers. It enables developers to gather feedback, identify bugs, and refine their apps before releasing them to the wider public through the App Store. TestFlight makes it easier for developers to manage the testing process and for testers to provide feedback directly within the app.

#100daysofcode #1percentplusplus #coding #dsa

Top comments (0)