Computer Programming
440 subscribers
6 files
231 links
We mainly post about Tech Interview Prep, Machine Learning, Full Stack, Data Structures, Algorithms & Programming Languages.

Please check the pinned message and invite your friends to this channel. Sharing is Caring 💕
Download Telegram
Should start posting ?
Anonymous Poll
94%
Yes
6%
Yes
**SQL**
Question—> Write a SQL query to get the nth highest salary from the Employee table.
Problem statement link —> https://leetcode.com/problems/nth-highest-salary/
Detailed solution link —> https://thecodingbot.com/leetcode-177-nth-highest-salary/

Attempt the problem by yourself first :)
How to check the version of Pandas?

Table of Contents SolutionSolution 1 – GEt version number with __version__ attributeSolution 2 – Using pip Freeze + GrepSolution 3 – With PIP SHOW Solution There are several ways you check the version of pandas you are…

https://thecodingbot.com/how-to-check-the-version-of-pandas/
Any Feedback/Suggestions ? Drop a comment on the group above
Happy holi fellas!!!
Rearrange a linked list such that all even index nodes come after all odd index nodes

Table of Contents Problem StatementSolutionApproachHere are the steps in detailImplementation of the Above Approach Problem Statement Given a singly linked list, group all odd nodes together followed by all the even nodes. Please note here…

https://thecodingbot.com/rearrange-a-linked-list-such-that-all-even-index-nodes-come-after-all-odd-index-nodes/
Remove duplicates from a Pandas DataFrame with two or more column in the subset criteria

Introduction There are some functions available to remove duplicates or identify duplicated rows in the dataframe in Pandas. One such function is df.duplicated() and the other function is df.drop_duplicates(). df.duplicated() not exactly removes duplicates from the dataframe but it…

https://thecodingbot.com/remove-duplicates-from-a-pandas-dataframe-with-two-or-more-column-in-the-subset-criteria/
Given an array nums of integers, return how many of them contain an even number of digits

Problem Statement Given an array nums of integers, return how many of them contain an even number of digits. Example 1: Input: nums = [12,345,2,6,7896] Output: 2 Explanation: 12 contains 2 digits (even number of digits).  345 contains 3…

https://thecodingbot.com/given-an-array-nums-of-integers-return-how-many-of-them-contain-an-even-number-of-digits/
Please let your friends also know about thecodingbot.com, if you like it . This will help me a lot. It takes so much effort to write and provide good content after a full-time job 🙏