## Posts

Showing posts with the label programming

### you 8 investment strategies to save tax in India 2023

Top 8 investment strategies to save tax in India 2023?  Do you know? You can pay zero tax if your Annual CTC is 10 Lakhs per annum. Here I am going to tell you 8 investment  strategies to save tax in India in 2023.  But how?  How a software engineer can save tax If an annual CTC is under 10 LPA 2023? 8 investment  strategies to save tax in India in 2023- 1- Avail Standard deduction of ₹50,000/- u/s 16(ia) of the Income Tax Act. 2- Pay the health insurance premium of your senior citizen parents and get an exemption of ₹50,000 3- I nvest in NPS (National Pension System)& claim ₹50,000 under section 80CCD (1B) of the Income Tax Act. 4- Invest in EPF, PPF, ELSS, Government Bonds, NSC etc. or paying LIC premium of self, you can claim a maximum deductible of ₹1,50,000 5- You can avail an exemption of ₹25,000 on self-health insurance premiums under Section 80D of the Income Tax Act. 6- You can avail ₹25,000 more deductions with ₹5,000 on preventative health check-up activities within the

### 2545. Sort the Students by Their Kth Score leetcode problem Solution c++ | How to sort 2D vectors in c++ using a custom comparator in c++

2545. Sort the Students by Their Kth Score Solution c++- How to sort 2D vectors in c++ using a custom comparator in c++. This problem is part of leetcode 2545. Here we have to sort a 2D vector using custom comparator  lets read problem statement first  problem statement - There is a class with  m  students and  n  exams. You are given a  0-indexed   m x n  integer matrix  score , where each row represents one student and  score[i][j]  denotes the score the  i th  student got in the  j th  exam. The matrix  score  contains  distinct  integers only. You are also given an integer  k . Sort the students (i.e., the rows of the matrix) by their scores in the  k th  ( 0-indexed ) exam from the highest to the lowest. Return  the matrix after sorting it.   Example 1: Input: score = [[10,6,9,1],[7,5,11,2],[4,8,3,15]], k = 2 Output: [[7,5,11,2],[10,6,9,1],[4,8,3,15]] Explanation: In the above diagram, S denotes the student, while E denotes the exam. - The student with index 1 scored 11 in exa