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)